code/__DEFINES/tgui.dm
UI_INTERACTIVE | Green eye; fully interactive |
---|---|
UI_UPDATE | Orange eye; updates but is not interactive |
UI_DISABLED | Red eye; disabled, does not update |
UI_CLOSE | UI Should close |
TGUI_WINDOW_SOFT_LIMIT | Maximum number of windows that can be suspended/reused |
TGUI_WINDOW_HARD_LIMIT | Maximum number of open windows |
TGUI_PING_TIMEOUT | Maximum ping timeout allowed to detect zombie windows |
TGUI_REFRESH_FULL_UPDATE_COOLDOWN | Used for rate-limiting to prevent DoS by excessively refreshing a TGUI window |
TGUI_WINDOW_CLOSED | Window does not exist |
TGUI_WINDOW_LOADING | Window was just opened, but is still not ready to be sent data |
TGUI_WINDOW_READY | Window is free and ready to receive data |
TGUI_WINDOW_ACTIVE | Window is in use by a tgui datum |
TGUI_WINDOW_ID | Get a window id based on the provided pool index |
TGUI_WINDOW_INDEX | Get a pool index of the provided window id |
TGUI_CREATE_MESSAGE | Creates a message packet for sending via output() |
Define Details
TGUI_CREATE_MESSAGE
Creates a message packet for sending via output()
TGUI_PING_TIMEOUT
Maximum ping timeout allowed to detect zombie windows
TGUI_REFRESH_FULL_UPDATE_COOLDOWN
Used for rate-limiting to prevent DoS by excessively refreshing a TGUI window
TGUI_WINDOW_ACTIVE
Window is in use by a tgui datum
TGUI_WINDOW_CLOSED
Window does not exist
TGUI_WINDOW_HARD_LIMIT
Maximum number of open windows
TGUI_WINDOW_ID
Get a window id based on the provided pool index
TGUI_WINDOW_INDEX
Get a pool index of the provided window id
TGUI_WINDOW_LOADING
Window was just opened, but is still not ready to be sent data
TGUI_WINDOW_READY
Window is free and ready to receive data
TGUI_WINDOW_SOFT_LIMIT
Maximum number of windows that can be suspended/reused
UI_CLOSE
UI Should close
UI_DISABLED
Red eye; disabled, does not update
UI_INTERACTIVE
Green eye; fully interactive
UI_UPDATE
Orange eye; updates but is not interactive