wavelength
1.0.0
Loading...
Searching...
No Matches
mediusjoingametask.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <librtmedius.h>
4
5
#include "
netflow/nettask.h
"
6
12
class
MediusJoinGameTask
:
public
NetTask
{
13
public
:
20
~MediusJoinGameTask
()
override
=
default
;
21
23
static
constexpr
int
kStatusDenied
= -972;
24
38
static
void
39
OnResponse
(
int
nConnection,
int
nType,
int
nSize,
const
rtMediusJoinGameResponse *pResponse);
40
41
protected
:
48
void
OnStart
()
override
;
49
};
MediusJoinGameTask
Step that joins the game of the session on the lobby server, which gives the connection to it.
Definition
mediusjoingametask.h:12
MediusJoinGameTask::~MediusJoinGameTask
~MediusJoinGameTask() override=default
Destroy the object.
MediusJoinGameTask::OnStart
void OnStart() override
Send the request, which fails the step with LaunchpadAbortedMsg::kReasonInit.
MediusJoinGameTask::OnResponse
static void OnResponse(int nConnection, int nType, int nSize, const rtMediusJoinGameResponse *pResponse)
Take the connection into LaunchpadRT::mConnectionInfo and finish the step.
MediusJoinGameTask::kStatusDenied
static constexpr int kStatusDenied
The status of the response for a game that refuses this console.
Definition
mediusjoingametask.h:23
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
mediusjoingametask.h
Generated by
1.15.0