Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGameMatchesInterface.h |
Include |
#include "Interfaces/OnlineGameMatchesInterface.h" |
void JoinGameMatch
(
const FUniqueNetId & UserId,
const FString & MatchId,
const TArray< FJoinGameMatchPlayer > & GameMatchJoinPlayerData,
const FOnJoinGameMatchComplete & CompletionDelegate
)
Joins a player to an existing match
Parameter |
Description |
---|---|
UserId |
Id of the user updating the match (not to be confused with the id of the player being added to the match) |
MatchId |
The id of the match in which the new player will join |
GameMatchJoinPlayerData |
Game match data required to add a player to the existing match |
CompletionDelegate |
Completion delegate called when JoinGameMatch is complete |