コード例 #1
0
ファイル: TurnBasedManager.cs プロジェクト: Ekawat40/Traveler
            internal int InvitationCount()
            {
                UIntPtr ptr =
                    TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(SelfPtr());

                return((int)ptr.ToUInt32());
            }
コード例 #2
0
ファイル: TurnBasedManager.cs プロジェクト: Ekawat40/Traveler
 internal IEnumerable <MultiplayerInvitation> Invitations()
 {
     return(PInvokeUtilities.ToEnumerable(
                TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(SelfPtr()),
                index => new MultiplayerInvitation(
                    TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_GetElement(SelfPtr(), index))));
 }
コード例 #3
0
 internal int InvitationCount()
 {
     return((int)TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(this.SelfPtr()).ToUInt32());
 }
コード例 #4
0
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerInvitation> Invitations()
 {
     return(PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerInvitation>(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new GooglePlayGames.Native.PInvoke.MultiplayerInvitation(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_GetElement(base.SelfPtr(), index));
     }));
 }