code/__DEFINES/tgui.dm ![code/__DEFINES/tgui.dm0](git.png)
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_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 ![code/__DEFINES/tgui.dm 36](git.png)
Creates a message packet for sending via output()
TGUI_PING_TIMEOUT ![code/__DEFINES/tgui.dm 16](git.png)
Maximum ping timeout allowed to detect zombie windows
TGUI_REFRESH_FULL_UPDATE_COOLDOWN ![code/__DEFINES/tgui.dm 18](git.png)
Used for rate-limiting to prevent DoS by excessively refreshing a TGUI window
TGUI_WINDOW_CLOSED ![code/__DEFINES/tgui.dm 21](git.png)
Window does not exist
TGUI_WINDOW_HARD_LIMIT ![code/__DEFINES/tgui.dm 13](git.png)
Maximum number of open windows
TGUI_WINDOW_ID ![code/__DEFINES/tgui.dm 28](git.png)
Get a window id based on the provided pool index
TGUI_WINDOW_INDEX ![code/__DEFINES/tgui.dm 30](git.png)
Get a pool index of the provided window id
TGUI_WINDOW_LOADING ![code/__DEFINES/tgui.dm 23](git.png)
Window was just opened, but is still not ready to be sent data
TGUI_WINDOW_READY ![code/__DEFINES/tgui.dm 25](git.png)
Window is free and ready to receive data
TGUI_WINDOW_SOFT_LIMIT ![code/__DEFINES/tgui.dm 11](git.png)
Maximum number of windows that can be suspended/reused
UI_CLOSE ![code/__DEFINES/tgui.dm 8](git.png)
UI Should close
UI_DISABLED ![code/__DEFINES/tgui.dm 6](git.png)
Red eye; disabled, does not update
UI_INTERACTIVE ![code/__DEFINES/tgui.dm 2](git.png)
Green eye; fully interactive
UI_UPDATE ![code/__DEFINES/tgui.dm 4](git.png)
Orange eye; updates but is not interactive