wavelength
1.0.0
Loading...
Searching...
No Matches
accountlogintask.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <librtmedius.h>
4
5
#include "
netflow/nettask.h
"
6
13
class
AccountLoginTask
:
public
NetTask
{
14
public
:
21
~AccountLoginTask
()
override
=
default
;
22
36
static
void
37
OnResponse
(
int
nConnection,
int
nType,
int
nSize,
const
rtMediusLoginResponse *pResponse);
38
39
protected
:
46
void
OnStart
()
override
;
47
};
AccountLoginTask
Step that logs in the account of the local player.
Definition
accountlogintask.h:13
AccountLoginTask::OnStart
void OnStart() override
Send the request with the name and the password.
AccountLoginTask::~AccountLoginTask
~AccountLoginTask() override=default
Destroy the object.
AccountLoginTask::OnResponse
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusLoginResponse *pResponse)
Take the account, the chat channel, and the connection of a login, and finish the step the response i...
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
accountlogintask.h
Generated by
1.15.0