Exemplo n.º 1
0
 public void Deserialize(IDataReader reader)
 {
     SubAreaId          = (UInt16)reader.ReadVarShort();
     WaitingForHelpInfo = new ProtectedEntityWaitingForHelpInfo();
     WaitingForHelpInfo.Deserialize(reader);
     AllyCharactersInformations = new CharacterMinimalPlusLookInformations[reader.ReadShort()];
     for (var i = 0; i < AllyCharactersInformations.Length; i++)
     {
         (AllyCharactersInformations[i] = new CharacterMinimalPlusLookInformations()).Deserialize(reader);
     }
     EnemyCharactersInformations = new CharacterMinimalPlusLookInformations[reader.ReadShort()];
     for (var i = 0; i < EnemyCharactersInformations.Length; i++)
     {
         (EnemyCharactersInformations[i] = new CharacterMinimalPlusLookInformations()).Deserialize(reader);
     }
 }
Exemplo n.º 2
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     WaitingForHelpInfo = new ProtectedEntityWaitingForHelpInfo();
     WaitingForHelpInfo.Deserialize(reader);
 }