PlayFab.PlayFabMatchmakerAPI.PlayerLeft C# (CSharp) Method

PlayerLeft() public static method

Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified
public static PlayerLeft ( PlayerLeftRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.PlayerLeftRequest
resultCallback Action
errorCallback Action
customData object
return void
        public static void PlayerLeft(PlayerLeftRequest request, Action<PlayerLeftResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null)
        {
            if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");

            PlayFabHttp.MakeApiCall("/Matchmaker/PlayerLeft", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
        }