コード例 #1
0
ファイル: TurnBasedManager.cs プロジェクト: Ekawat40/Traveler
 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));
 }
コード例 #2
0
 internal void AcceptInvitation(MultiplayerInvitation invitation,
                                RealTimeEventListenerHelper listener,
                                Action <RealTimeRoomResponse> callback)
 {
     C.RealTimeMultiplayerManager_AcceptInvitation(mGameServices.AsHandle(),
                                                   invitation.AsPointer(), listener.AsPointer(), InternalRealTimeRoomCallback,
                                                   ToCallbackPointer(callback));
 }
コード例 #3
0
 internal void DeclineInvitation(MultiplayerInvitation invitation)
 {
     C.RealTimeMultiplayerManager_DeclineInvitation(mGameServices.AsHandle(),
                                                    invitation.AsPointer());
 }
コード例 #4
0
 internal void DeclineInvitation(MultiplayerInvitation invitation) {
     C.RealTimeMultiplayerManager_DeclineInvitation(mGameServices.AsHandle(),
         invitation.AsPointer());
 }
コード例 #5
0
 internal void AcceptInvitation(MultiplayerInvitation invitation,
     RealTimeEventListenerHelper listener,
     Action<RealTimeRoomResponse> callback) {
     C.RealTimeMultiplayerManager_AcceptInvitation(mGameServices.AsHandle(),
         invitation.AsPointer(), listener.AsPointer(), InternalRealTimeRoomCallback,
         ToCallbackPointer(callback));
 }
コード例 #6
0
ファイル: TurnBasedManager.cs プロジェクト: Ekawat40/Traveler
 internal void DeclineInvitation(MultiplayerInvitation invitation)
 {
     TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_DeclineInvitation(mGameServices.AsHandle(),
                                                                               invitation.AsPointer());
 }
コード例 #7
0
 internal void AcceptInvitation(MultiplayerInvitation invitation, Action <TurnBasedMatchResponse> callback)
 {
     Logger.d("Accepting invitation: " + invitation.AsPointer().ToInt64());
     if (< > f__mg$cache6 == null)
     {