6 lines
1.9 KiB
HTML
6 lines
1.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/ui_state - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/ui_state.html#proc">Proc Details</a></header><main><h1>ui_state <aside>/<a href="datum.html">datum</a>/<a href="datum/ui_state.html">ui_state</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tgui/states/not_incapacitated.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/tgui/states/not_incapacitated.dm 22"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/ui_state.html#proc/can_use_topic">can_use_topic</a></th><td>private</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/can_use_topic"><aside class="declaration">proc </aside>can_use_topic<aside>(src_object, /<a href="mob.html">mob</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/tgui/states.dm#L51"><img src="git.png" width="16" height="16" title="code/modules/tgui/states.dm 51"></a></aside></h3><p>private</p>
|
|
<p>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.</p>
|
|
<p>required src_object datum The object/datum which owns the UI.
|
|
required user mob The mob who opened/is using the UI.</p>
|
|
<p>return UI_state The state of the UI.</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |