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); }
protected override void OnLoad() { this.Type |= ObjectTypes.Container; this.SetInt32((UpdateFieldId)ContainerFields.NUM_SLOTS, this.m_record.ContSlots); this.m_inventory = new ContainerInventory(this, (UpdateFieldId)ContainerFields.SLOT_1, this.m_record.ContSlots); }
protected override void OnInit() { Type |= ObjectTypes.Container; ContainerSlots = m_template.ContainerSlots; m_inventory = new ContainerInventory(this, ContainerFields.SLOT_1, m_template.ContainerSlots); }
protected override void OnInit() { this.Type |= ObjectTypes.Container; this.ContainerSlots = this.m_template.ContainerSlots; this.m_inventory = new ContainerInventory(this, (UpdateFieldId)ContainerFields.SLOT_1, this.m_template.ContainerSlots); }
public void Display(ContainerInventory containerInv) { gameObject.SetActive(true); containerDisplay.Link(containerInv); }