wavelength
1.0.0
Loading...
Searching...
No Matches
getgamestask.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
GetGamesTask
:
public
NetTask
{
14
public
:
21
~GetGamesTask
()
override
=
default
;
22
35
static
void
36
OnResponse
(
int
nConnection,
int
nType,
int
nSize,
const
rtMediusGameListResponse *pResponse);
37
38
protected
:
45
void
OnStart
()
override
;
46
};
GetGamesTask
Step that lists a page of the launchpads into LobbyRT::mLaunchpads.
Definition
getgamestask.h:13
GetGamesTask::~GetGamesTask
~GetGamesTask() override=default
Destroy the object.
GetGamesTask::OnResponse
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusGameListResponse *pResponse)
Decode and add a game, and finish the step the response is tagged with after the last game.
GetGamesTask::OnStart
void OnStart() override
Clear the launchpads and send the request for the page of LobbyRT::mLaunchpadsPage.
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
getgamestask.h
Generated by
1.15.0