Exemple #1
0
            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;
                }
            }
Exemple #2
0
			// a tree ornament

			public CagePart( int itemID, JailCage parent ) : base( itemID )
			{
				m_parent = parent;
				Movable = false;
			}
Exemple #3
0
            // a tree ornament

            public CagePart(int itemID, JailCage parent) : base(itemID)
            {
                m_parent = parent;
                Movable  = false;
            }
Exemple #4
0
			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;
				}
			}