internal void AcceptInvitation(MultiplayerInvitation invitation, Action <TurnBasedMatchResponse> callback) { Logger.d("Accepting invitation: " + invitation.AsPointer().ToInt64()); TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_AcceptInvitation(mGameServices.AsHandle(), invitation.AsPointer(), InternalTurnBasedMatchCallback, ToCallbackPointer(callback)); }
internal void AcceptInvitation(GooglePlayGames.Native.PInvoke.MultiplayerInvitation invitation, Action <TurnBasedMatchResponse> callback) { Logger.d("Accepting invitation: " + invitation.AsPointer().ToInt64()); TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_AcceptInvitation(this.mGameServices.AsHandle(), invitation.AsPointer(), new TurnBasedMultiplayerManager.TurnBasedMatchCallback(TurnBasedManager.InternalTurnBasedMatchCallback), ToCallbackPointer(callback)); }