7 lines
2.3 KiB
HTML
7 lines
2.3 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/controller/subsystem/processing/dcs - /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/controller/subsystem/processing/dcs.html#proc">Proc Details</a></header><main><h1>dcs <aside>/<a href="datum.html">datum</a>/<a href="datum/controller/subsystem.html">controller/subsystem</a>/<a href="datum/controller/subsystem/processing/dcs.html">processing/dcs</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/dcs.dm#L1"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/dcs.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/processing/dcs.html#proc/GetIdFromArguments">GetIdFromArguments</a></th><td>Generates an id for bespoke elements when given the argument list
|
|
Generating the id here is a bit complex because we need to support named arguments
|
|
Named arguments can appear in any order and we need them to appear after ordered arguments
|
|
We assume that no one will pass in a named argument with a value of null</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/GetIdFromArguments"><aside class="declaration">proc </aside>GetIdFromArguments<aside>(/list/arguments) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/dcs.dm#L32"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/dcs.dm 32"></a></aside></h3><p>Generates an id for bespoke elements when given the argument list
|
|
Generating the id here is a bit complex because we need to support named arguments
|
|
Named arguments can appear in any order and we need them to appear after ordered arguments
|
|
We assume that no one will pass in a named argument with a value of null</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> |