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
14public:
21 ~GetLobbyPlayersTask() override = default;
22
36 static void OnResponse(int nConnection,
37 int nType,
38 int nSize,
39 const rtMediusChannelPlayersResponse *pResponse);
40
41protected:
48 void OnStart() override;
49};
Step that lists the players of the chat room of the local player into LobbyRT::mLobbyPlayers.
Definition getlobbyplayerstask.h:13
void OnStart() override
Clear the players and send the request.
~GetLobbyPlayersTask() override=default
Destroy the object.
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()
Construct a task outside any NetMultiTask.
Definition nettask.h:24