context: using Server.Multis;
  using Server.Multis.Deeds;
  
  namespace Server.Items
  {
      public class StonePlasterHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public StonePlasterHouseDeed()
              : base(0x64, new Point3D(0, 4, 0))
          {
          }
  
          public StonePlasterHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber { get { return 1041211; } }
  
          public override Rectangle2D[] Area { get { return SmallOldHouse.AreaArray; } }
  
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new SmallOldHouse(owner, 0x64);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class FieldStoneHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public FieldStoneHouseDeed()
              : base(0x66, new Point3D(0, 4, 0))
          {
          }
  
          public FieldStoneHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041212;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return SmallOldHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new SmallOldHouse(owner, 0x66);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class SmallBrickHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public SmallBrickHouseDeed()
              : base(0x68, new Point3D(0, 4, 0))
          {
          }
  
          public SmallBrickHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041213;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return SmallOldHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new SmallOldHouse(owner, 0x68);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class WoodHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public WoodHouseDeed()
              : base(0x6A, new Point3D(0, 4, 0))
          {
          }
  
          public WoodHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041214;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return SmallOldHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new SmallOldHouse(owner, 0x6A);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class WoodPlasterHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public WoodPlasterHouseDeed()
              : base(0x6C, new Point3D(0, 4, 0))
          {
          }
  
          public WoodPlasterHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041215;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return SmallOldHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new SmallOldHouse(owner, 0x6C);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class ThatchedRoofCottageDeed : BaseHouseDeed
      {
          [Constructable]
          public ThatchedRoofCottageDeed()
              : base(0x6E, new Point3D(0, 4, 0))
          {
          }
  
          public ThatchedRoofCottageDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041216;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return SmallOldHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new SmallOldHouse(owner, 0x6E);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class BrickHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public BrickHouseDeed()
              : base(0x74, new Point3D(-1, 7, 0))
          {
          }
  
          public BrickHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041219;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return GuildHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new GuildHouse(owner);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class TwoStoryWoodPlasterHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public TwoStoryWoodPlasterHouseDeed()
              : base(0x76, new Point3D(-3, 7, 0))
          {
          }
  
          public TwoStoryWoodPlasterHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041220;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return TwoStoryHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new TwoStoryHouse(owner, 0x76);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class TwoStoryStonePlasterHouseDeed : BaseHouseDeed
      {
          [Constructable]
          public TwoStoryStonePlasterHouseDeed()
              : base(0x78, new Point3D(-3, 7, 0))
          {
          }
  
          public TwoStoryStonePlasterHouseDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041221;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return TwoStoryHouse.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new TwoStoryHouse(owner, 0x78);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class TowerDeed : BaseHouseDeed
      {
          [Constructable]
          public TowerDeed()
              : base(0x7A, new Point3D(0, 7, 0))
          {
          }
  
          public TowerDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041222;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return Tower.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new Tower(owner);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
          }
      }
  
      public class KeepDeed : BaseHouseDeed
      {
          [Constructable]
          public KeepDeed()
              : base(0x7C, new Point3D(0, 11, 0))
          {
          }
  
          public KeepDeed(Serial serial)
              : base(serial)
          {
          }
  
          public override int LabelNumber
          {
              get
              {
                  return 1041223;
              }
          }
          public override Rectangle2D[] Area
          {
              get
              {
                  return Keep.AreaArray;
              }
          }
          public override BaseHouse GetHouse(Mobile owner)
          {
              return new Keep(owner);
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
  
gt:             int version = reader.ReadInt();