mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
7 lines
3.1 KiB
HTML
7 lines
3.1 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 - Space Station 13</title></head><body><header><a href="index.html">Space 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.html">controller</a>/<a href="datum/controller/subsystem.html">subsystem</a>/<a href="datum/controller/subsystem/processing/dcs.html">processing/dcs</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/processing/SSdcs.dm#L1"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSdcs.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><tr><th><a href="datum/controller/subsystem/processing/dcs.html#proc/rotate_decals">rotate_decals</a></th><td>Remove old decals and apply new decals after rotation as necessary</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/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/processing/SSdcs.dm#L33"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSdcs.dm 33"></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><h3 id="proc/rotate_decals"><aside class="declaration">proc </aside>rotate_decals<aside>(/<a href="datum.html">datum</a>/source, old_dir, new_dir) <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/datums/elements/decal_element.dm#L55"><img src="git.png" width="16" height="16" title="code/datums/elements/decal_element.dm 55"></a></aside></h3><p>Remove old decals and apply new decals after rotation as necessary</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/776b9861f70566b1e6a0763a465ef22f7920a3d6">776b986</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |