public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 1: m_parent = (Cage)reader.ReadItem(); break; default: break; } }
public override int LabelNumber { get { return 1016152; } } // a tree ornament public CagePart(int itemID, Cage parent) : base(itemID) { m_parent = parent; Movable = false; }