3#include <librtmedius.h>
35 : mChatroom(pChatroom), mPlayer(pPlayer) {
52 OnResponse(
int nConnection,
int nType,
int nSize,
const rtMediusFindPlayerResponse *pResponse);
void OnStart() override
Clear the room and send the request, or finish for an offline player.
~FindPlayerTask() override=default
Destroy the object.
FindPlayerTask(NetChatroomInfo *pChatroom, LobbyPlayer *pPlayer)
Construct a step.
Definition findplayertask.h:34
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusFindPlayerResponse *pResponse)
Take the room of a location of the player, and finish the step the response is tagged with after the ...
A player of the lobby server, as FindPlayerMsg reports it.
Definition lobbyplayer.h:16
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24
The description of one chat room of the online lobby.
Definition netchatroominfo.h:11