Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineGameMatches
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGameMatchesInterface.h |
| Include | #include "Interfaces/OnlineGameMatchesInterface.h" |
void LeaveGameMatch
&40;
const FUniqueNetId & UserId,
const FString & MatchId,
const TArray< FLeaveGameMatchPlayer > & GameMatchLeavePlayerData,
const FOnLeaveGameMatchComplete & CompletionDelegate
&41;
Remarks
Removes a player from an existing match
Parameters
| Name | Description |
|---|---|
| UserId | Id of the user updating the match (not to be confused with the id of the player being removed from the match) |
| MatchId | The id of the match in which the player will be removed from |
| GameMatchLeavePlayerData | Game match data required to remove a player from the existing match |
| CompletionDelegate | Completion delegate called when LeaveGameMatch is complete |