Esempio n. 1
0
 public void Cancel(TurnBasedMatch match, Action <bool> callback)
 {
     callback = Callbacks.AsOnGameThreadCallback(callback);
     FindEqualVersionMatch(match, callback, foundMatch => {
         mTurnBasedManager.CancelMatch(foundMatch, status => callback(status > 0));
     });
 }
 public void Cancel(GooglePlayGames.BasicApi.Multiplayer.TurnBasedMatch match, Action <bool> callback)
 {
     callback = Callbacks.AsOnGameThreadCallback(callback);
     FindEqualVersionMatch(match, callback, delegate(NativeTurnBasedMatch foundMatch)
     {
         mTurnBasedManager.CancelMatch(foundMatch, delegate(CommonErrorStatus.MultiplayerStatus status)
         {
             callback(status > (CommonErrorStatus.MultiplayerStatus) 0);
         });
     });
 }