CapShipRepairTab

From Vendetta Lua
Jump to: navigation, search

Container with widgets that allow repairing the ship created with CreateCapShipRepairTab.

The container is registered with the events: ENTERING_STATION, PLAYER_UPDATE_STATS, STATION_UPDATE_DESIREDITEMS, INVENTORY_UPDATE, INVENTORY_ADD, INVENTORY_REMOVE

Functions

OnShow

Definition:
OnShow(userdata self) -> nil

Description:
Update contents and handle events

Arguments:
self this box

OnHide

Definition:
OnHide(userdata self) -> nil

Description:
Don't handle events

Arguments:
self this box

OnEvent

Definition:
OnEvent(userdata self) -> nil

Description:
Eventhandler

Arguments:
self this box