StationCommoditiesSellTab

From Vendetta Lua
Jump to navigationJump to search

Container with sell tab. Created with CreateStationCommoditiesSellTab

The container is registered with the events: ENTERING_STATION, INVENTORY_ADD, INVENTORY_REMOVE, INVENTORY_UPDATE, TRANSACTION_COMPLETED, STATION_UPDATE_PRICE, STATION_UPDATE_REQUESTED, PLAYER_UPDATE_STATS

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:
Stub

Arguments:
self this box