Exemplo n.º 1
0
 public override void Deserialize(BigEndianReader reader)
 {
     int serversCount = reader.ReadUShort();
     int serversIndex;
     m_servers = new System.Collections.Generic.List<GameServerInformations>();
     for (serversIndex = 0; (serversIndex < serversCount); serversIndex = (serversIndex + 1))
     {
         GameServerInformations objectToAdd = new GameServerInformations();
         objectToAdd.Deserialize(reader);
         m_servers.Add(objectToAdd);
     }
     m_alreadyConnectedToServerId = reader.ReadVarUhShort();
     m_canCreateNewCharacter = reader.ReadBoolean();
 }
Exemplo n.º 2
0
 public override void Deserialize(BigEndianReader reader)
 {
     m_server = new GameServerInformations();
     m_server.Deserialize(reader);
 }