Yogstation 13 - Modules - Types

code/modules/tgui_input/number.dm

/proc/tgui_input_number Creates a TGUI window with a number input. Returns the user's response as num | null.
/proc/tgui_input_number_async Client does NOT have tgui_fancy on: Returns regular input Creates an asynchronous TGUI number input window with an associated callback.
/datum/tgui_input_numberDatum used for instantiating and using a TGUI-controlled numbox that prompts the user with a message and has an input for text entry.
/datum/tgui_input_number/asyncAn asynchronous version of tgui_input_number to be used with callbacks instead of waiting on user responses.