wavelength
1.0.0
Loading...
Searching...
No Matches
getlobbyplayerstask.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
GetLobbyPlayersTask
:
public
NetTask
{
14
public
:
21
~GetLobbyPlayersTask
()
override
=
default
;
22
36
static
void
OnResponse
(
int
nConnection,
37
int
nType,
38
int
nSize,
39
const
rtMediusChannelPlayersResponse *pResponse);
40
41
protected
:
48
void
OnStart
()
override
;
49
};
GetLobbyPlayersTask
Step that lists the players of the chat room of the local player into LobbyRT::mLobbyPlayers.
Definition
getlobbyplayerstask.h:13
GetLobbyPlayersTask::OnStart
void OnStart() override
Clear the players and send the request.
GetLobbyPlayersTask::~GetLobbyPlayersTask
~GetLobbyPlayersTask() override=default
Destroy the object.
GetLobbyPlayersTask::OnResponse
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusChannelPlayersResponse *pResponse)
Decode and add a player, and finish the step the response is tagged with after the last player.
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
getlobbyplayerstask.h
Generated by
1.15.0