6#include <librtmedius.h>
53 OnResponse(
int nConnection,
int nType,
int nSize,
const rtMediusLadderListResponse *pResponse);
57 return mInfoTask.get();
86 std::unique_ptr<PlayerInfoTask> mInfoTask;
87 std::list<LobbyPlayer>::iterator mNext;
LadderListTask()
Construct a step.
Definition ladderlisttask.h:28
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusLadderListResponse *pResponse)
Add a player, and after the last player finish the step the response is tagged with or start reading ...
void OnPoll() override
Poll mInfoTask, and once it ends go on to the next player or drop the new players.
PlayerInfoTask * GetInfoTask() const
Definition ladderlisttask.h:56
~LadderListTask() override
Release the step and its PlayerInfoTask.
void OnStart() override
Clear the ranking and send the request for the page of LobbyRT::mRanksPage.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24
Step that reads the name, the connection, and the statistics of a player.
Definition playerinfotask.h:15