Ejemplo n.º 1
0
        public override void Deserialize(ICustomDataReader reader)
        {
            int ServersLen = reader.ReadShort();

            Servers = new GameServerInformations[ServersLen];
            for (int i = 0; i < ServersLen; i++)
            {
                this.Servers[i] = new GameServerInformations();
                this.Servers[i].Deserialize(reader);
            }
            this.AlreadyConnectedToServerId = reader.ReadVarShort();
            this.CanCreateNewCharacter      = reader.ReadBoolean();
        }
Ejemplo n.º 2
0
 public override void Deserialize(ICustomDataReader reader)
 {
     this.Server = new GameServerInformations();
     this.Server.Deserialize(reader);
 }
Ejemplo n.º 3
0
 public ServerStatusUpdateMessage InitServerStatusUpdateMessage(GameServerInformations Server)
 {
     this.Server = Server;
     return(this);
 }