Files
GS13NG/datum/tgs_event_handler.html
2025-02-05 06:19:18 +00:00

2 lines
2.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/tgs_event_handler - /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/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/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L273"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 273"></a></h1><p>User definable handler for TGS events This abstract version SHOULD be overridden to be used.</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 <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L275"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 275"></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/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L282"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 282"></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>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>