Skip to content

Inventory

This page documents the hooks defined by the inventory module.


InventoryClosed(panel, inventory)View Source

Purpose

Called after an inventory panel is closed.

Realm

Client

Parameters

Panel panel The panel instance that was closed.

table inventory The inventory represented by the panel.


InventoryOpened(panel, inventory)View Source

Purpose

Called after an inventory panel is created and shown.

Realm

Client

Parameters

Panel panel The panel instance that was opened.

table inventory The inventory represented by the panel.


OnCreateDualInventoryPanels(panel1, panel2, inventory1, inventory2)View Source

Purpose

Called after the framework creates a paired inventory view for two inventories.

Realm

Client

Parameters

Panel panel1 The panel for the first inventory.

Panel panel2 The panel for the second inventory.

table inventory1 The first inventory object.

table inventory2 The second inventory object.