Ejemplo n.º 1
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     servers = new Types.GameServerInformations[limit];
     for (int i = 0; i < limit; i++)
     {
          servers[i] = new Types.GameServerInformations();
          servers[i].Deserialize(reader);
     }
 }
Ejemplo n.º 2
0
        public override void Deserialize(BigEndianReader reader)
        {
            var limit = reader.ReadUShort();

            servers = new Types.GameServerInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                servers[i] = new Types.GameServerInformations();
                servers[i].Deserialize(reader);
            }
        }
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            var limit = (ushort)reader.ReadUShort();

            servers = new Types.GameServerInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                servers[i] = new Types.GameServerInformations();
                servers[i].Deserialize(reader);
            }
        }
Ejemplo n.º 4
0
        public override void Deserialize(IDataReader reader)
        {
            var limit    = reader.ReadUShort();
            var servers_ = new Types.GameServerInformations[limit];

            for (int i = 0; i < limit; i++)
            {
                servers_[i] = new Types.GameServerInformations();
                servers_[i].Deserialize(reader);
            }
            servers = servers_;
        }
        public override void Deserialize(IDataReader reader)
        {
            var limit = (ushort)reader.ReadUShort();

            servers = new Types.GameServerInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                servers[i] = new Types.GameServerInformations();
                servers[i].Deserialize(reader);
            }
            alreadyConnectedToServerId = reader.ReadVarUhShort();
            canCreateNewCharacter      = reader.ReadBoolean();
        }
Ejemplo n.º 6
0
        public override void Deserialize(ICustomDataInput reader)
        {
            var limit = reader.ReadUShort();

            servers = new Types.GameServerInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                servers[i] = new Types.GameServerInformations();
                servers[i].Deserialize(reader);
            }
            alreadyConnectedToServerId = reader.ReadVarUhShort();
            if (alreadyConnectedToServerId < 0)
            {
                throw new Exception("Forbidden value on alreadyConnectedToServerId = " + alreadyConnectedToServerId + ", it doesn't respect the following condition : alreadyConnectedToServerId < 0");
            }
            canCreateNewCharacter = reader.ReadBoolean();
        }
Ejemplo n.º 7
0
 public override void Deserialize(ICustomDataInput reader)
 {
     server = new Types.GameServerInformations();
     server.Deserialize(reader);
 }
Ejemplo n.º 8
0
 public ServerStatusUpdateMessage(Types.GameServerInformations server)
 {
     this.server = server;
 }
 public override void Deserialize(IDataReader reader)
 {
     server = new Types.GameServerInformations();
     server.Deserialize(reader);
 }
 public ServerStatusUpdateMessage(Types.GameServerInformations server)
 {
     this.server = server;
 }
Ejemplo n.º 11
0
 public override void Deserialize(IDataReader reader)
 {
     server = new Types.GameServerInformations();
     server.Deserialize(reader);
 }
Ejemplo n.º 12
0
 public override void Deserialize(BigEndianReader reader)
 {
     Server = new Types.GameServerInformations();
     Server.Deserialize(reader);
 }