PDAInventoryInventoryTab

From Vendetta Lua
Jump to navigationJump to search

Container with character inventory. Created with create_char_inventory_tab

The container is registered with the events: INVENTORY_ADD, INVENTORY_REMOVE, INVENTORY_UPDATE, SHIP_UPDATED, SHIP_CHANGED, SECTOR_CHANGED, TRANSACTION_COMPLETED, STATION_UPDATE_REQUESTED

Functions

OnShow

Definition:
OnShow(userdata self) -> nil

Description:
Update contents and start handling events

Arguments:
self this box

OnHide

Definition:
OnHide(userdata self) -> nil

Description:
Stop handling events

Arguments:
self this box

OnEvent

Definition:
OnEvent(userdata self) -> nil

Description:
Eventhandler

Arguments:
self this box