public Hearthstone() : base(DefStoneItemID) { Name = DefStoneName; Weight = 0.0; _Home = new HomeEntry(this); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); _Owner = reader.ReadMobile(); DeserializeUsage(reader); _Home = new HomeEntry(this); _Home.Deserialize(reader); Register(_Owner, this); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); writer.Write((Mobile)_Owner); SerializeUsage(writer); if (_Home == null) { _Home = new HomeEntry(this); } _Home.Serialize(writer); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); writer.Write((Mobile)_Owner); SerializeUsage(writer); if (_Home == null) _Home = new HomeEntry(this); _Home.Serialize(writer); }