예제 #1
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable(
                C.RealTimeRoom_Participants_Length(SelfPtr()),
                (index) => new MultiplayerParticipant(
                    C.RealTimeRoom_Participants_GetElement(SelfPtr(), index))));
 }
예제 #2
0
 protected override void CallDispose(HandleRef selfPointer)
 {
     C.RealTimeRoom_Dispose(selfPointer);
 }
예제 #3
0
 internal Types.RealTimeRoomStatus Status()
 {
     return(C.RealTimeRoom_Status(SelfPtr()));
 }
예제 #4
0
 internal uint ParticipantCount()
 {
     return(C.RealTimeRoom_Participants_Length(SelfPtr()).ToUInt32());
 }
예제 #5
0
 internal string Id()
 {
     return(PInvokeUtilities.OutParamsToString(
                (out_string, size) => C.RealTimeRoom_Id(SelfPtr(), out_string, size)));
 }