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
13class AccountLoginTask : public NetTask {
14public:
21 ~AccountLoginTask() override = default;
22
36 static void
37 OnResponse(int nConnection, int nType, int nSize, const rtMediusLoginResponse *pResponse);
38
39protected:
46 void OnStart() override;
47};
Step that logs in the account of the local player.
Definition accountlogintask.h:13
void OnStart() override
Send the request with the name and the password.
~AccountLoginTask() override=default
Destroy the object.
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()
Construct a task outside any NetMultiTask.
Definition nettask.h:24