byond - Modules - TypesProc Details

/datum/ui_state

Procs

can_use_topicprivate

Proc Details

can_use_topic

private

Checks if a user can use src_object's UI, and returns the state. Can call a mob proc, which allows overrides for each mob.

required src_object datum The object/datum which owns the UI. required user mob The mob who opened/is using the UI.

return UI_state The state of the UI.