Пример #1
0
		protected override void OnLoad()
		{
			Type |= ObjectTypes.Container;
			SetInt32(ContainerFields.NUM_SLOTS, m_record.ContSlots);
			m_inventory = new ContainerInventory(this, ContainerFields.SLOT_1, m_record.ContSlots);
		}
Пример #2
0
		protected override void OnInit()
		{
			Type |= ObjectTypes.Container;
			ContainerSlots = m_template.ContainerSlots;
			m_inventory = new ContainerInventory(this, ContainerFields.SLOT_1, m_template.ContainerSlots);
		}