Step that starts the game server library and its peer-to-peer layer.
More...
#include <initmgcltask.h>
|
| static int | OnServerRequest0 (int nConnection, int nType, int nSize, const rtMgclResponse *pRequest) |
| | Ignore the first kind of request of the game server.
|
| static int | OnServerRequest1 (int nConnection, int nType, int nSize, const rtMgclResponse *pRequest) |
| | Accept the second kind of request of the game server with an empty reply.
|
| static int | OnServerRequest2 (int nConnection, int nType, int nSize, const rtMgclResponse *pRequest) |
| | Ignore the third kind of request of the game server.
|
| static int | OnServerRequest3 (int nConnection, int nType, int nSize, const rtMgclResponse *pRequest) |
| | Ignore the fourth kind of request of the game server.
|
| static void | MakeTag (NetTask *pTask, char *pszTag) |
| | Create the next tag of a task and copy its text.
|
| static void | RemoveTag (NetTask *pTask) |
| | Remove the first tag of a task.
|
| static NetTask * | FindTag (const char *pszTag) |
| | Find the task of a tag.
|
|
| void | OnStart () override |
| | Start the library, note whether it is ready, and finish.
|
| void | OnStop () override |
| | Remove the tag of the task.
|
| virtual void | OnPoll () |
| | Advance the work, and set mState to kStateDone when it finishes.
|
Step that starts the game server library and its peer-to-peer layer.
The RTTI includes the name and records NetTask as the base. The vtable is at 0x003d4d28. The step fails with LaunchpadAbortedMsg::kReasonInit.
◆ ~InitMGCLTask()
| InitMGCLTask::~InitMGCLTask |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x00399c58
- Ghidra address:
- PAL: 0x004084e0
◆ OnServerRequest0()
| int InitMGCLTask::OnServerRequest0 |
( |
int | nConnection, |
|
|
int | nType, |
|
|
int | nSize, |
|
|
const rtMgclResponse * | pRequest ) |
|
static |
Ignore the first kind of request of the game server.
- Parameters
-
| nConnection | The connection. |
| nType | The kind of request. |
| nSize | The size of the request. |
| pRequest | The request. |
- Returns
- 0, which the library does not read.
- Ghidra address:
- NTSC-U/C: 0x0025b0f0
- Ghidra address:
- PAL: 0x00264140
◆ OnServerRequest1()
| int InitMGCLTask::OnServerRequest1 |
( |
int | nConnection, |
|
|
int | nType, |
|
|
int | nSize, |
|
|
const rtMgclResponse * | pRequest ) |
|
static |
Accept the second kind of request of the game server with an empty reply.
- Parameters
-
| nConnection | The connection. |
| nType | The kind of request. |
| nSize | The size of the request. |
| pRequest | The request, whose identifier the reply repeats. |
- Returns
- The result of rtMgclSendServerReply().
- Ghidra address:
- NTSC-U/C: 0x0025b0f8
- Ghidra address:
- PAL: 0x00264148
◆ OnServerRequest2()
| int InitMGCLTask::OnServerRequest2 |
( |
int | nConnection, |
|
|
int | nType, |
|
|
int | nSize, |
|
|
const rtMgclResponse * | pRequest ) |
|
static |
Ignore the third kind of request of the game server.
- Parameters
-
| nConnection | The connection. |
| nType | The kind of request. |
| nSize | The size of the request. |
| pRequest | The request. |
- Returns
- 0, which the library does not read.
- Ghidra address:
- NTSC-U/C: 0x0025b148
- Ghidra address:
- PAL: 0x00264198
◆ OnServerRequest3()
| int InitMGCLTask::OnServerRequest3 |
( |
int | nConnection, |
|
|
int | nType, |
|
|
int | nSize, |
|
|
const rtMgclResponse * | pRequest ) |
|
static |
Ignore the fourth kind of request of the game server.
- Parameters
-
| nConnection | The connection. |
| nType | The kind of request. |
| nSize | The size of the request. |
| pRequest | The request. |
- Returns
- 0, which the library does not read.
- Ghidra address:
- NTSC-U/C: 0x0025b150
- Ghidra address:
- PAL: 0x002641a0
◆ OnStart()
| void InitMGCLTask::OnStart |
( |
| ) |
|
|
overrideprotectedvirtual |
Start the library, note whether it is ready, and finish.
- Ghidra address:
- NTSC-U/C: 0x0025b020
- Ghidra address:
- PAL: 0x00264070
Reimplemented from Task.
The documentation for this class was generated from the following file: