예제 #1
0
 internal uint ParticipantCount()
 {
     return(RealTimeRoom.RealTimeRoom_Participants_Length(this.SelfPtr()).ToUInt32());
 }
예제 #2
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable <MultiplayerParticipant>(RealTimeRoom.RealTimeRoom_Participants_Length(this.SelfPtr()), (Func <UIntPtr, MultiplayerParticipant>)(index => new MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(this.SelfPtr(), index)))));
 }
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant> Participants() =>
 PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant>(RealTimeRoom.RealTimeRoom_Participants_Length(base.SelfPtr()), index => new GooglePlayGames.Native.PInvoke.MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(base.SelfPtr(), index)));
 internal uint ParticipantCount() =>
 RealTimeRoom.RealTimeRoom_Participants_Length(base.SelfPtr()).ToUInt32();
예제 #5
0
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant>(RealTimeRoom.RealTimeRoom_Participants_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new GooglePlayGames.Native.PInvoke.MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(base.SelfPtr(), index));
     }));
 }
예제 #6
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable(RealTimeRoom.RealTimeRoom_Participants_Length(SelfPtr()), (UIntPtr index) => new MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(SelfPtr(), index))));
 }