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