wavelength 1.0.0
Loading...
Searching...
No Matches
getgameplayerstask.h
Go to the documentation of this file.
1#pragma once
2
3#include <librtmedius.h>
4
5#include "netflow/nettask.h"
6
15public:
22 ~GetGamePlayersTask() override = default;
23
37 static void
38 OnResponse(int nConnection, int nType, int nSize, const rtMediusGamePlayersResponse *pResponse);
39
40protected:
47 void OnStart() override;
48};
Step that lists the players of the launchpad LobbyRT::mLaunchpadId into LobbyRT::mLaunchpadPlayers.
Definition getgameplayerstask.h:14
void OnStart() override
Clear the players and send the request.
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusGamePlayersResponse *pResponse)
Decode and add a player, and finish the step the response is tagged with after the last player.
~GetGamePlayersTask() override=default
Destroy the object.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24