35 OnServerRequest0(
int nConnection,
int nType,
int nSize,
const rtMgclResponse *pRequest);
49 OnServerRequest1(
int nConnection,
int nType,
int nSize,
const rtMgclResponse *pRequest);
63 OnServerRequest2(
int nConnection,
int nType,
int nSize,
const rtMgclResponse *pRequest);
77 OnServerRequest3(
int nConnection,
int nType,
int nSize,
const rtMgclResponse *pRequest);
Step that starts the game server library and its peer-to-peer layer.
Definition initmgcltask.h:13
~InitMGCLTask() override=default
Destroy the object.
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.
void OnStart() override
Start the library, note whether it is ready, and finish.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24