public void Write(ref SharpSerializer ser) { ser.Write(this.roomName); ser.Write(this.currentConnnections); ser.Write(this.maxConnection); ser.Write(this.isSecured); }
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); } } }
public void Write(ref SharpSerializer ser) { ser.Write(this.Name); ser.Write(this.netID); }