Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable/minimap_ui_handler

Minimap UI handles are responsible for all TGUI logic pertaining to minimaps and minimap controllers. This typically involves setting up the ByondUI to display the minimap and passing other parameters to the UI.

Vars

handlerThe screen handler which the minimap object is placed into.
minimapThe "minimap" object which will be displayed onto the client's screen. Not explicitly defined, as it may also be of type obj/minimap_controller.
minimap_idThe current unique ID of the minimap, used for rendering it in a ByondUI component.
tgui_themeThe theme that the tgui window should use. For a list of all themes, see tgui/packages/tgui/styles/themes.
tgui_titleThe title that the tgui window should display.
viewersAll clients who currently have the minimap ui open.

Procs

add_clientAdds a subscribed client.
remove_clientRemoves a subscribed client.

Var Details

handler

The screen handler which the minimap object is placed into.

minimap

The "minimap" object which will be displayed onto the client's screen. Not explicitly defined, as it may also be of type obj/minimap_controller.

minimap_id

The current unique ID of the minimap, used for rendering it in a ByondUI component.

tgui_theme

The theme that the tgui window should use. For a list of all themes, see tgui/packages/tgui/styles/themes.

tgui_title

The title that the tgui window should display.

viewers

All clients who currently have the minimap ui open.

Proc Details

add_client

Adds a subscribed client.

remove_client

Removes a subscribed client.