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));
 }
Exemple #2
0
 internal void AcceptInvitation(MultiplayerInvitation invitation,
                                RealTimeEventListenerHelper listener,
                                Action <RealTimeRoomResponse> callback)
 {
     C.RealTimeMultiplayerManager_AcceptInvitation(mGameServices.AsHandle(),
                                                   invitation.AsPointer(), listener.AsPointer(), InternalRealTimeRoomCallback,
                                                   ToCallbackPointer(callback));
 }
Exemple #3
0
 internal void DeclineInvitation(MultiplayerInvitation invitation)
 {
     C.RealTimeMultiplayerManager_DeclineInvitation(mGameServices.AsHandle(),
                                                    invitation.AsPointer());
 }
 internal void DeclineInvitation(MultiplayerInvitation invitation) {
     C.RealTimeMultiplayerManager_DeclineInvitation(mGameServices.AsHandle(),
         invitation.AsPointer());
 }
 internal void AcceptInvitation(MultiplayerInvitation invitation,
     RealTimeEventListenerHelper listener,
     Action<RealTimeRoomResponse> callback) {
     C.RealTimeMultiplayerManager_AcceptInvitation(mGameServices.AsHandle(),
         invitation.AsPointer(), listener.AsPointer(), InternalRealTimeRoomCallback,
         ToCallbackPointer(callback));
 }
 internal void DeclineInvitation(MultiplayerInvitation invitation)
 {
     TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_DeclineInvitation(mGameServices.AsHandle(),
                                                                               invitation.AsPointer());
 }
 internal void AcceptInvitation(MultiplayerInvitation invitation, Action <TurnBasedMatchResponse> callback)
 {
     Logger.d("Accepting invitation: " + invitation.AsPointer().ToInt64());
     if (< > f__mg$cache6 == null)
     {