Exemple #1
0
 public void Deserialize(IDataReader reader)
 {
     UniqueId        = reader.ReadDouble();
     FirtNameId      = (UInt16)reader.ReadVarShort();
     LastNameId      = (UInt16)reader.ReadVarShort();
     AdditionalInfos = new AdditionalTaxCollectorInformations();
     AdditionalInfos.Deserialize(reader);
     WorldX    = reader.ReadShort();
     WorldY    = reader.ReadShort();
     SubAreaId = (UInt16)reader.ReadVarShort();
     State     = reader.ReadByte();
     Look      = new EntityLook();
     Look.Deserialize(reader);
     Complements = new TaxCollectorComplementaryInformations[reader.ReadShort()];
     for (var i = 0; i < Complements.Length; i++)
     {
         (Complements[i] = new TaxCollectorComplementaryInformations()).Deserialize(reader);
     }
 }
 public void Deserialize(IDataReader reader)
 {
     Look = new EntityLook();
     Look.Deserialize(reader);
     Index = reader.ReadByte();
 }
Exemple #3
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     EntityLook = new EntityLook();
     EntityLook.Deserialize(reader);
 }