Goonstation 13 - Modules - TypesVar Details - Proc Details

tgui_input_bitfield

Datum used for instantiating and using a TGUI-controlled bitfield editor.

Vars

autofocusThe bool that controls if this modal should grab window focus
closedBoolean field describing if the tgui_input_bitfield was closed by the user.
defaultThe default (or current) value, used if there is an existing value
entryThe value the user selected, null if no selection has been made
messageThe message to show the user
start_timeThe time at which the tgui_input_bitfield was created, for displaying timeout progress.
timeoutThe lifespan of the tgui_input_bitfield, after which the window will close and delete itself.
titleThe title of the TGUI window

Procs

waitWaits for a user's response to the tgui_input_bitfield's prompt before returning. Returns early if the window was closed by the user.

Var Details

autofocus

The bool that controls if this modal should grab window focus

closed

Boolean field describing if the tgui_input_bitfield was closed by the user.

default

The default (or current) value, used if there is an existing value

entry

The value the user selected, null if no selection has been made

message

The message to show the user

start_time

The time at which the tgui_input_bitfield was created, for displaying timeout progress.

timeout

The lifespan of the tgui_input_bitfield, after which the window will close and delete itself.

title

The title of the TGUI window

Proc Details

wait

Waits for a user's response to the tgui_input_bitfield's prompt before returning. Returns early if the window was closed by the user.