2 lines
6.6 KiB
HTML
2 lines
6.6 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/dynamic_snapshot - /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/dynamic_snapshot.html#var">Var Details</a> - <a href="datum/dynamic_snapshot.html#proc">Proc Details</a></header><main><h1>dynamic_snapshot <aside>/<a href="datum.html">datum</a>/<a href="datum/dynamic_snapshot.html">dynamic_snapshot</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L3"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 3"></a></h1><p>A "snapshot" of dynamic at an important point in time.
|
||
Exported to JSON in the dynamic.json log file.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/alive_antags">alive_antags</a></th><td>The number of alive antags</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/alive_players">alive_players</a></th><td>The number of alive players</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/dead_players">dead_players</a></th><td>The number of dead players</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/observers">observers</a></th><td>The number of observers</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/remaining_threat">remaining_threat</a></th><td>The remaining midround threat</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/ruleset_chosen">ruleset_chosen</a></th><td>The rulesets chosen this snapshot</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/serialization">serialization</a></th><td>The cached serialization of this snapshot</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/time">time</a></th><td>The world.time when the snapshot was taken</td></tr><tr><th><a href="datum/dynamic_snapshot.html#var/total_players">total_players</a></th><td>The total number of players in the server</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/dynamic_snapshot.html#proc/to_list">to_list</a></th><td>Convert the snapshot to an associative list</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/alive_antags"><aside class="declaration">var </aside>alive_antags <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L23"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 23"></a></h3><p>The number of alive antags</p><h3 id="var/alive_players"><aside class="declaration">var </aside>alive_players <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L14"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 14"></a></h3><p>The number of alive players</p><h3 id="var/dead_players"><aside class="declaration">var </aside>dead_players <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L17"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 17"></a></h3><p>The number of dead players</p><h3 id="var/observers"><aside class="declaration">var </aside>observers <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L20"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 20"></a></h3><p>The number of observers</p><h3 id="var/remaining_threat"><aside class="declaration">var </aside>remaining_threat <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L5"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 5"></a></h3><p>The remaining midround threat</p><h3 id="var/ruleset_chosen"><aside class="declaration">var </aside>ruleset_chosen <aside>– /<a href="datum.html">datum</a>/<a href="datum/dynamic_snapshot_ruleset.html">dynamic_snapshot_ruleset</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L26"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 26"></a></h3><p>The rulesets chosen this snapshot</p><h3 id="var/serialization"><aside class="declaration">var </aside>serialization <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L31"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 31"></a></h3><p>The cached serialization of this snapshot</p><h3 id="var/time"><aside class="declaration">var </aside>time <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L8"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 8"></a></h3><p>The world.time when the snapshot was taken</p><h3 id="var/total_players"><aside class="declaration">var </aside>total_players <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L11"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 11"></a></h3><p>The total number of players in the server</p><h2 id="proc">Proc Details</h2><h3 id="proc/to_list"><aside class="declaration">proc </aside>to_list<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/dynamic/dynamic_logging.dm#L50"><img src="git.png" width="16" height="16" title="code/game/gamemodes/dynamic/dynamic_logging.dm 50"></a></aside></h3><p>Convert the snapshot to an associative list</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> |