wavelength 1.0.0
Loading...
Searching...
No Matches
mgclauthenticationtask.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 ~MGCLAuthenticationTask() override = default;
22
35 static void OnResponse(int nConnection,
36 int nType,
37 int nSize,
38 const rtMgclAuthenticationResponse *pResponse);
39
40protected:
47 void OnStart() override;
48};
Step that authenticates the host with the game server, which gives the server to host on.
Definition mgclauthenticationtask.h:13
static void OnResponse(int nConnection, int nType, int nSize, const rtMgclAuthenticationResponse *pResponse)
Take the game server into HostpadRT::mServerInfo and finish the step.
void OnStart() override
Send the request.
~MGCLAuthenticationTask() override=default
Destroy the object.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24