Match Functions
Make Match
Create a new Match
- Unity3D
var match = await ServiceHub.Services.MultiPlayer.MatchService.MakeMatch(roomId, lockRoom);
Make and Start Match
Create a new Match and start it
- Unity3D
var match = await ServiceHub.Services.MultiPlayer.MatchService.MakeAndStartMatch(roomId, lockRoom);
Load Match
Load a match by its ID
- Unity3D
var match = await ServiceHub.Services.MultiPlayer.MatchService.LoadMatch(matchId);
GetMyMatches
Get user's matches
- Unity3D
var matches = await ServiceHub.Services.MultiPlayer.MatchService.GetMyMatches();