Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
FTurnBasedMatchRequest contains all of the information required for a matchmaker to create an FTurnBasedMatch
| Name | FTurnBasedMatchRequest |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineTurnBasedInterface.h |
| Include Path | #include "Interfaces/OnlineTurnBasedInterface.h" |
Syntax
class FTurnBasedMatchRequest
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Interfaces/OnlineTurnBasedInterface.h | |||
FTurnBasedMatchRequest
(
int32 InMinNumberOfPlayers, |
Interfaces/OnlineTurnBasedInterface.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaxNumberOfPlayers | int32 | The maximum number of players needed for this match. | Interfaces/OnlineTurnBasedInterface.h | |
| MinNumberOfPlayers | int32 | The minimum number of players needed for this match. | Interfaces/OnlineTurnBasedInterface.h | |
| PlayerGroup | uint32 | The player group represents another parameter to pass in to matchmaking. | Interfaces/OnlineTurnBasedInterface.h | |
| ShowExistingMatches | bool | If true, the native matchmaking interface will show matches the player is in already. | Interfaces/OnlineTurnBasedInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetMaxNumberOfPlayers() |
Interfaces/OnlineTurnBasedInterface.h | ||
int32 GetMinNumberOfPlayers() |
Interfaces/OnlineTurnBasedInterface.h | ||
uint32 GetPlayerGroup() |
Interfaces/OnlineTurnBasedInterface.h | ||
bool GetShowExistingMatches() |
Interfaces/OnlineTurnBasedInterface.h | ||
void SetMaxNumberOfPlayers
(
int32 InMaxNumberOfPlayers |
Interfaces/OnlineTurnBasedInterface.h | ||
void SetMinNumberOfPlayers
(
int32 InMinNumberOfPlayers |
Interfaces/OnlineTurnBasedInterface.h | ||
void SetPlayerGroup
(
uint32 InPlayerGroup |
Interfaces/OnlineTurnBasedInterface.h | ||
void SetShowExistingMatches
(
bool InShowExistingMatches |
Interfaces/OnlineTurnBasedInterface.h |