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