Ejemplo n.º 1
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     HouseInfos = new HouseInstanceInformations();
     HouseInfos.Deserialize(reader);
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
 }
Ejemplo n.º 2
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     HouseInfos = new HouseInstanceInformations();
     HouseInfos.Deserialize(reader);
     WorldX    = reader.ReadShort();
     WorldY    = reader.ReadShort();
     MapId     = reader.ReadDouble();
     SubAreaId = (UInt16)reader.ReadVarShort();
 }
Ejemplo n.º 3
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     DoorsOnMap = new UInt32[reader.ReadShort()];
     for (var i = 0; i < DoorsOnMap.Length; i++)
     {
         DoorsOnMap[i] = (UInt32)reader.ReadInt();
     }
     HouseInstances = new HouseInstanceInformations[reader.ReadShort()];
     for (var i = 0; i < HouseInstances.Length; i++)
     {
         (HouseInstances[i] = new HouseInstanceInformations()).Deserialize(reader);
     }
 }