wavelength 1.0.0
Loading...
Searching...
No Matches
mgclsessionbegintask.h
Go to the documentation of this file.
1#pragma once
2
3#include <librtmgcl.h>
4
5#include "netflow/nettask.h"
6
14public:
21 ~MGCLSessionBeginTask() override = default;
22
35 static void
36 OnResponse(int nConnection, int nType, int nSize, const rtMgclSessionBeginResponse *pResponse);
37
38protected:
45 void OnStart() override;
46};
Step that begins a session of the host with the game server.
Definition mgclsessionbegintask.h:13
~MGCLSessionBeginTask() override=default
Destroy the object.
static void OnResponse(int nConnection, int nType, int nSize, const rtMgclSessionBeginResponse *pResponse)
Take the key of the session into HostpadRT::mSessionKey and finish the step.
void OnStart() override
Send the request.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24