예제 #1
0
			public TentChest( Tent owner )
			{
				m_Tent = owner;
				KeyValue = m_Tent.KeyValue;
				Locked = true;
				LockLevel = MaxLockLevel = 0;
				Movable = false;
			}
예제 #2
0
 public TentChest(Tent owner, uint keyValue)
 {
     m_Tent    = owner;
     KeyValue  = keyValue;
     Locked    = true;
     LockLevel = MaxLockLevel = 0;
     Movable   = false;
 }
예제 #3
0
			public override void Deserialize( GenericReader reader )
			{
				base.Deserialize( reader );

				int version = reader.ReadInt();
				m_Tent = reader.ReadItem() as Tent;

				if ( m_Tent == null )
					Delete();
			}
예제 #4
0
            public override void Deserialize(GenericReader reader)
            {
                base.Deserialize(reader);

                int version = reader.ReadInt();

                m_Tent = reader.ReadItem() as Tent;

                if (m_Tent == null)
                {
                    Delete();
                }
            }