mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
2 lines
2.6 KiB
HTML
2 lines
2.6 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/tgs_event_handler - 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/tgs_event_handler.html#var">Var Details</a> - <a href="datum/tgs_event_handler.html#proc">Proc Details</a></header><main><h1>tgs_event_handler <aside>/<a href="datum.html">datum</a>/<a href="datum/tgs_event_handler.html">tgs_event_handler</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/tgs.dm#L271"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 271"></a></h1><p>User definable handler for TGS events.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/tgs_event_handler.html#var/receive_health_checks">receive_health_checks</a></th><td>If the handler receieves <a href="code/__DEFINES/tgs.html#define/TGS_EVENT_HEALTH_CHECK" title="TGS_EVENT_HEALTH_CHECK">TGS_EVENT_HEALTH_CHECK</a> events.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/tgs_event_handler.html#proc/HandleEvent">HandleEvent</a></th><td>User definable callback for handling TGS events.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/receive_health_checks"><aside class="declaration">var </aside>receive_health_checks <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/tgs.dm#L273"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 273"></a></h3><p>If the handler receieves <a href="code/__DEFINES/tgs.html#define/TGS_EVENT_HEALTH_CHECK" title="TGS_EVENT_HEALTH_CHECK">TGS_EVENT_HEALTH_CHECK</a> events.</p><h2 id="proc">Proc Details</h2><h3 id="proc/HandleEvent"><aside class="declaration">proc </aside>HandleEvent<aside>(event_code, ...) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/tgs.dm#L280"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 280"></a></aside></h3><p>User definable callback for handling TGS events.</p>
|
|
<p>event_code - One of the TGS_EVENT_ defines. Extra parameters will be documented in each.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |