public void Write(ref SharpSerializer ser)
 {
     ser.Write(this.roomName);
     ser.Write(this.currentConnnections);
     ser.Write(this.maxConnection);
     ser.Write(this.isSecured);
 }
Example #2
0
 public void Write(ref SharpSerializer ser)
 {
     ser.Write(this.room_name);
     ser.Write(this.room_password);
     ser.Write(this.max_connection);
     for (int i = 0; i < slots.Length; i++)
     {
         SharpClient c       = slots[i];
         bool        isExist = (c != null);
         if (!isExist)
         {
             ser.Write(false);
         }
         else
         {
             ser.Write(true);
             c.Write(ref ser);
         }
     }
 }
Example #3
0
 public void Write(ref SharpSerializer ser)
 {
     ser.Write(this.Name);
     ser.Write(this.netID);
 }