IOnlineGameMatches::JoinGameMatch

Joins a player to an existing match

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGameMatchesInterface.h

Include

#include "Interfaces/OnlineGameMatchesInterface.h"

Syntax

void JoinGameMatch
(
    const FUniqueNetId & UserId,
    const FString & MatchId,
    const TArray< FJoinGameMatchPlayer > & GameMatchJoinPlayerData,
    const FOnJoinGameMatchComplete & CompletionDelegate
)

Remarks

Joins a player to an existing match

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss