Ejemplo n.º 1
0
            internal int TheirTurnMatchesCount()
            {
                UIntPtr ptr =
                    TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_Length(SelfPtr());

                return((int)ptr.ToUInt32());
            }
Ejemplo n.º 2
0
 internal IEnumerable <NativeTurnBasedMatch> TheirTurnMatches()
 {
     return(PInvokeUtilities.ToEnumerable(
                TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_Length(SelfPtr()),
                index => new NativeTurnBasedMatch(
                    TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_GetElement(SelfPtr(), index))));
 }
Ejemplo n.º 3
0
 internal int TheirTurnMatchesCount()
 {
     return((int)TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_Length(this.SelfPtr()).ToUInt32());
 }
Ejemplo n.º 4
0
 internal IEnumerable <NativeTurnBasedMatch> TheirTurnMatches()
 {
     return(PInvokeUtilities.ToEnumerable <NativeTurnBasedMatch>(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new NativeTurnBasedMatch(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_GetElement(base.SelfPtr(), index));
     }));
 }