Exemplo n.º 1
0
 internal Types.RealTimeRoomStatus Status()
 {
     return(RealTimeRoom.RealTimeRoom_Status(this.SelfPtr()));
 }
Exemplo n.º 2
0
 protected override void CallDispose(HandleRef selfPointer)
 {
     RealTimeRoom.RealTimeRoom_Dispose(selfPointer);
 }
Exemplo n.º 3
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)))));
 }
Exemplo n.º 4
0
 internal uint ParticipantCount()
 {
     return(RealTimeRoom.RealTimeRoom_Participants_Length(this.SelfPtr()).ToUInt32());
 }
 internal Types.RealTimeRoomStatus Status() =>
 RealTimeRoom.RealTimeRoom_Status(base.SelfPtr());
Exemplo n.º 6
0
 internal string Id()
 {
     return(PInvokeUtilities.OutParamsToString((PInvokeUtilities.OutStringMethod)((out_string, size) => RealTimeRoom.RealTimeRoom_Id(this.SelfPtr(), out_string, size))));
 }
 internal uint ParticipantCount() =>
 RealTimeRoom.RealTimeRoom_Participants_Length(base.SelfPtr()).ToUInt32();
 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 string Id() =>
 PInvokeUtilities.OutParamsToString((out_string, size) => RealTimeRoom.RealTimeRoom_Id(base.SelfPtr(), out_string, size));
Exemplo n.º 10
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));
     }));
 }
Exemplo n.º 11
0
 internal string Id()
 {
     return(PInvokeUtilities.OutParamsToString(delegate(StringBuilder out_string, UIntPtr size) {
         return RealTimeRoom.RealTimeRoom_Id(base.SelfPtr(), out_string, size);
     }));
 }
Exemplo n.º 12
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable(RealTimeRoom.RealTimeRoom_Participants_Length(SelfPtr()), (UIntPtr index) => new MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(SelfPtr(), index))));
 }
Exemplo n.º 13
0
 internal string Id()
 {
     return(PInvokeUtilities.OutParamsToString((byte[] out_string, UIntPtr size) => RealTimeRoom.RealTimeRoom_Id(SelfPtr(), out_string, size)));
 }