public HouseInformationsInside(int houseId, short modelId, HouseInstanceInformations houseInfos, short worldX, short worldY)
     : base(houseId, modelId)
 {
     this.houseInfos = houseInfos;
     this.worldX     = worldX;
     this.worldY     = worldY;
 }
 public AccountHouseInformations(int houseId, short modelId, HouseInstanceInformations houseInfos, short worldX, short worldY, int mapId, short subAreaId)
     : base(houseId, modelId)
 {
     this.houseInfos = houseInfos;
     this.worldX     = worldX;
     this.worldY     = worldY;
     this.mapId      = mapId;
     this.subAreaId  = subAreaId;
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     houseInfos = ProtocolTypeManager.GetInstance <HouseInstanceInformations>(reader.ReadShort());
     houseInfos.Deserialize(reader);
     worldX = reader.ReadShort();
     if (worldX < -255 || worldX > 255)
     {
         throw new Exception("Forbidden value on worldX = " + worldX + ", it doesn't respect the following condition : worldX < -255 || worldX > 255");
     }
     worldY = reader.ReadShort();
     if (worldY < -255 || worldY > 255)
     {
         throw new Exception("Forbidden value on worldY = " + worldY + ", it doesn't respect the following condition : worldY < -255 || worldY > 255");
     }
 }