1 line
26 KiB
HTML
1 line
26 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/tgs.dm - /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="code/__DEFINES/tgs.html#define">Define Details</a></header><main><h1>code/__DEFINES/tgs.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm0"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_FILE2TEXT_NATIVE">TGS_FILE2TEXT_NATIVE</a></th><td>Consumers SHOULD create this define if you want to do TGS configuration outside of this file.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REBOOT_MODE_CHANGE">TGS_EVENT_REBOOT_MODE_CHANGE</a></th><td>Before a reboot mode change, extras parameters are the current and new reboot mode enums.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_PORT_SWAP">TGS_EVENT_PORT_SWAP</a></th><td>Before a port change is about to happen, extra parameters is new port.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_INSTANCE_RENAMED">TGS_EVENT_INSTANCE_RENAMED</a></th><td>Before the instance is renamed, extra parameter is the new name.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_WATCHDOG_REATTACH">TGS_EVENT_WATCHDOG_REATTACH</a></th><td>After the watchdog reattaches to DD, extra parameter is the new <a href="datum/tgs_version.html" title="/datum/tgs_version">/datum/tgs_version</a> of the server.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_HEALTH_CHECK">TGS_EVENT_HEALTH_CHECK</a></th><td>When the watchdog sends a health check to DD. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_RESET_ORIGIN">TGS_EVENT_REPO_RESET_ORIGIN</a></th><td>When the repository is reset to its origin reference. Parameters: Reference name, Commit SHA.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_CHECKOUT">TGS_EVENT_REPO_CHECKOUT</a></th><td>When the repository performs a checkout. Parameters: Checkout git object.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_FETCH">TGS_EVENT_REPO_FETCH</a></th><td>When the repository performs a fetch operation. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_MERGE_PULL_REQUEST">TGS_EVENT_REPO_MERGE_PULL_REQUEST</a></th><td>When the repository test merges. Parameters: PR Number, PR Sha, (Nullable) Comment made by TGS user.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_PRE_SYNCHRONIZE">TGS_EVENT_REPO_PRE_SYNCHRONIZE</a></th><td>Before the repository makes a sychronize operation. Parameters: Absolute repostiory path.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_ENGINE_INSTALL_START">TGS_EVENT_ENGINE_INSTALL_START</a></th><td>Before a engine install operation begins. Parameters: Version string of the installing engine.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_ENGINE_INSTALL_FAIL">TGS_EVENT_ENGINE_INSTALL_FAIL</a></th><td>When a engine install operation fails. Parameters: Error message</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGE">TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGE</a></th><td>When the active engine version changes. Parameters: (Nullable) Version string of the current engine, version string of the new engine.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_COMPILE_START">TGS_EVENT_COMPILE_START</a></th><td>When the compiler starts running. Parameters: Game directory path, origin commit SHA.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_COMPILE_CANCELLED">TGS_EVENT_COMPILE_CANCELLED</a></th><td>When a compile is cancelled. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_COMPILE_FAILURE">TGS_EVENT_COMPILE_FAILURE</a></th><td>When a compile fails. Parameters: Game directory path, [TRUE]/[FALSE] based on if the cause for failure was DMAPI validation.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_COMPILE_COMPLETE">TGS_EVENT_COMPILE_COMPLETE</a></th><td>When a compile operation completes. Note, this event fires before the new .dmb is loaded into the watchdog. Consider using the <a href="code/__DEFINES/tgs.html#define/TGS_EVENT_DEPLOYMENT_COMPLETE" title="TGS_EVENT_DEPLOYMENT_COMPLETE">TGS_EVENT_DEPLOYMENT_COMPLETE</a> instead. Parameters: Game directory path.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_INSTANCE_AUTO_UPDATE_START">TGS_EVENT_INSTANCE_AUTO_UPDATE_START</a></th><td>When an automatic update for the current instance begins. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_MERGE_CONFLICT">TGS_EVENT_REPO_MERGE_CONFLICT</a></th><td>When the repository encounters a merge conflict: Parameters: Base SHA, target SHA, base reference, target reference.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_DEPLOYMENT_COMPLETE">TGS_EVENT_DEPLOYMENT_COMPLETE</a></th><td>When a deployment completes. No Parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_WATCHDOG_SHUTDOWN">TGS_EVENT_WATCHDOG_SHUTDOWN</a></th><td>Before the watchdog shuts down. Not sent for graceful shutdowns. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_WATCHDOG_DETACH">TGS_EVENT_WATCHDOG_DETACH</a></th><td>Before the watchdog detaches for a TGS update/restart. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_WORLD_PRIME">TGS_EVENT_WORLD_PRIME</a></th><td>Watchdog event when TgsInitializationComplete() is called. No parameters.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REPO_SUBMODULE_UPDATE">TGS_EVENT_REPO_SUBMODULE_UPDATE</a></th><td>After a single submodule update is performed. Parameters: Updated submodule name.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_PRE_DREAM_MAKER">TGS_EVENT_PRE_DREAM_MAKER</a></th><td>After CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path, origin commit sha, version string of the used engine.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_DEPLOYMENT_CLEANUP">TGS_EVENT_DEPLOYMENT_CLEANUP</a></th><td>Whenever a deployment folder is deleted from disk. Parameters: Game directory path.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_REBOOT_MODE_NORMAL">TGS_REBOOT_MODE_NORMAL</a></th><td>The server will reboot normally.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_REBOOT_MODE_SHUTDOWN">TGS_REBOOT_MODE_SHUTDOWN</a></th><td>The server will stop running on reboot.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_REBOOT_MODE_RESTART">TGS_REBOOT_MODE_RESTART</a></th><td>The watchdog will restart on reboot.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_SECURITY_TRUSTED">TGS_SECURITY_TRUSTED</a></th><td>DreamDaemon Trusted security level.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_SECURITY_SAFE">TGS_SECURITY_SAFE</a></th><td>DreamDaemon Safe security level.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_SECURITY_ULTRASAFE">TGS_SECURITY_ULTRASAFE</a></th><td>DreamDaemon Ultrasafe security level.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_VISIBILITY_PUBLIC">TGS_VISIBILITY_PUBLIC</a></th><td>DreamDaemon public visibility level.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_VISIBILITY_PRIVATE">TGS_VISIBILITY_PRIVATE</a></th><td>DreamDaemon private visibility level.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_VISIBILITY_INVISIBLE">TGS_VISIBILITY_INVISIBLE</a></th><td>DreamDaemon invisible visibility level.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_ENGINE_TYPE_BYOND">TGS_ENGINE_TYPE_BYOND</a></th><td>The Build Your Own Net Dream engine.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_ENGINE_TYPE_OPENDREAM">TGS_ENGINE_TYPE_OPENDREAM</a></th><td>The OpenDream engine.</td></tr><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_TOPIC">TGS_TOPIC</a></th><td>Consumers MUST run this macro at the start of [/world/proc/Topic].</td></tr><tr><th><a href="datum/tgs_revision_information.html">/datum/tgs_revision_information</a></th><td>Represents git revision information.</td></tr><tr><th><a href="datum/tgs_version.html">/datum/tgs_version</a></th><td>Represents a version.</td></tr><tr><th><a href="datum/tgs_revision_information/test_merge.html">/datum/tgs_revision_information/test_merge</a></th><td>Represents a merge of a GitHub pull request.</td></tr><tr><th><a href="datum/tgs_chat_channel.html">/datum/tgs_chat_channel</a></th><td>Represents a connected chat channel.</td></tr><tr><th><a href="datum/tgs_event_handler.html">/datum/tgs_event_handler</a></th><td>User definable handler for TGS events This abstract version SHOULD be overridden to be used.</td></tr><tr><th><a href="datum/tgs_http_handler.html">/datum/tgs_http_handler</a></th><td>User definable handler for HTTP calls. This abstract version MUST be overridden to be used.</td></tr><tr><th><a href="datum/tgs_http_result.html">/datum/tgs_http_result</a></th><td>Result of a <a href="datum/tgs_http_handler.html" title="/datum/tgs_http_handler">/datum/tgs_http_handler</a> call. MUST NOT be overridden.</td></tr><tr><th><a href="datum/tgs_chat_command.html">/datum/tgs_chat_command</a></th><td>User definable chat command. This abstract version MUST be overridden to be used.</td></tr><tr><th><a href="datum/tgs_message_content.html">/datum/tgs_message_content</a></th><td>User definable chat message. MUST NOT be overridden.</td></tr><tr><th><a href="datum/tgs_chat_embed/structure.html">/datum/tgs_chat_embed/structure</a></th><td>User definable chat embed. Currently mirrors Discord chat embeds. See https://discord.com/developers/docs/resources/message#embed-object for details.</td></tr><tr><th><a href="datum/tgs_chat_embed/media.html">/datum/tgs_chat_embed/media</a></th><td>Common datum for similar Discord embed medias.</td></tr><tr><th><a href="datum/tgs_chat_embed/footer.html">/datum/tgs_chat_embed/footer</a></th><td>See https://discord.com/developers/docs/resources/message#embed-object-embed-footer-structure for details.</td></tr><tr><th>/<a href="datum.html">datum</a>/tgs_chat_embed/provider</th><td>See https://discord.com/developers/docs/resources/message#embed-object-embed-provider-structure for details.</td></tr><tr><th><a href="datum/tgs_chat_embed/provider/author.html">/datum/tgs_chat_embed/provider/author</a></th><td>See https://discord.com/developers/docs/resources/message#embed-object-embed-author-structure for details. Must have name set in New().</td></tr><tr><th><a href="datum/tgs_chat_embed/field.html">/datum/tgs_chat_embed/field</a></th><td>See https://discord.com/developers/docs/resources/message#embed-object-embed-field-structure for details.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/TGS_ENGINE_TYPE_BYOND"><aside class="declaration">#define </aside>TGS_ENGINE_TYPE_BYOND <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L149"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 149"></a></h3><p>The Build Your Own Net Dream engine.</p><h3 id="define/TGS_ENGINE_TYPE_OPENDREAM"><aside class="declaration">#define </aside>TGS_ENGINE_TYPE_OPENDREAM <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L151"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 151"></a></h3><p>The OpenDream engine.</p><h3 id="define/TGS_EVENT_COMPILE_CANCELLED"><aside class="declaration">#define </aside>TGS_EVENT_COMPILE_CANCELLED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L93"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 93"></a></h3><p>When a compile is cancelled. No parameters.</p><h3 id="define/TGS_EVENT_COMPILE_COMPLETE"><aside class="declaration">#define </aside>TGS_EVENT_COMPILE_COMPLETE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L97"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 97"></a></h3><p>When a compile operation completes. Note, this event fires before the new .dmb is loaded into the watchdog. Consider using the <a href="code/__DEFINES/tgs.html#define/TGS_EVENT_DEPLOYMENT_COMPLETE" title="TGS_EVENT_DEPLOYMENT_COMPLETE">TGS_EVENT_DEPLOYMENT_COMPLETE</a> instead. Parameters: Game directory path.</p><h3 id="define/TGS_EVENT_COMPILE_FAILURE"><aside class="declaration">#define </aside>TGS_EVENT_COMPILE_FAILURE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L95"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 95"></a></h3><p>When a compile fails. Parameters: Game directory path, [TRUE]/[FALSE] based on if the cause for failure was DMAPI validation.</p><h3 id="define/TGS_EVENT_COMPILE_START"><aside class="declaration">#define </aside>TGS_EVENT_COMPILE_START <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L91"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 91"></a></h3><p>When the compiler starts running. Parameters: Game directory path, origin commit SHA.</p><h3 id="define/TGS_EVENT_DEPLOYMENT_CLEANUP"><aside class="declaration">#define </aside>TGS_EVENT_DEPLOYMENT_CLEANUP <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L122"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 122"></a></h3><p>Whenever a deployment folder is deleted from disk. Parameters: Game directory path.</p><h3 id="define/TGS_EVENT_DEPLOYMENT_COMPLETE"><aside class="declaration">#define </aside>TGS_EVENT_DEPLOYMENT_COMPLETE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L103"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 103"></a></h3><p>When a deployment completes. No Parameters.</p><h3 id="define/TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGE"><aside class="declaration">#define </aside>TGS_EVENT_ENGINE_ACTIVE_VERSION_CHANGE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L89"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 89"></a></h3><p>When the active engine version changes. Parameters: (Nullable) Version string of the current engine, version string of the new engine.</p><h3 id="define/TGS_EVENT_ENGINE_INSTALL_FAIL"><aside class="declaration">#define </aside>TGS_EVENT_ENGINE_INSTALL_FAIL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L87"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 87"></a></h3><p>When a engine install operation fails. Parameters: Error message</p><h3 id="define/TGS_EVENT_ENGINE_INSTALL_START"><aside class="declaration">#define </aside>TGS_EVENT_ENGINE_INSTALL_START <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L85"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 85"></a></h3><p>Before a engine install operation begins. Parameters: Version string of the installing engine.</p><h3 id="define/TGS_EVENT_HEALTH_CHECK"><aside class="declaration">#define </aside>TGS_EVENT_HEALTH_CHECK <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L72"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 72"></a></h3><p>When the watchdog sends a health check to DD. No parameters.</p><h3 id="define/TGS_EVENT_INSTANCE_AUTO_UPDATE_START"><aside class="declaration">#define </aside>TGS_EVENT_INSTANCE_AUTO_UPDATE_START <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L99"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 99"></a></h3><p>When an automatic update for the current instance begins. No parameters.</p><h3 id="define/TGS_EVENT_INSTANCE_RENAMED"><aside class="declaration">#define </aside>TGS_EVENT_INSTANCE_RENAMED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L68"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 68"></a></h3><p>Before the instance is renamed, extra parameter is the new name.</p><h3 id="define/TGS_EVENT_PORT_SWAP"><aside class="declaration">#define </aside>TGS_EVENT_PORT_SWAP <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L66"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 66"></a></h3><p>Before a port change is about to happen, extra parameters is new port.</p><h3 id="define/TGS_EVENT_PRE_DREAM_MAKER"><aside class="declaration">#define </aside>TGS_EVENT_PRE_DREAM_MAKER <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L120"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 120"></a></h3><p>After CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path, origin commit sha, version string of the used engine.</p><h3 id="define/TGS_EVENT_REBOOT_MODE_CHANGE"><aside class="declaration">#define </aside>TGS_EVENT_REBOOT_MODE_CHANGE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L64"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 64"></a></h3><p>Before a reboot mode change, extras parameters are the current and new reboot mode enums.</p><h3 id="define/TGS_EVENT_REPO_CHECKOUT"><aside class="declaration">#define </aside>TGS_EVENT_REPO_CHECKOUT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L77"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 77"></a></h3><p>When the repository performs a checkout. Parameters: Checkout git object.</p><h3 id="define/TGS_EVENT_REPO_FETCH"><aside class="declaration">#define </aside>TGS_EVENT_REPO_FETCH <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L79"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 79"></a></h3><p>When the repository performs a fetch operation. No parameters.</p><h3 id="define/TGS_EVENT_REPO_MERGE_CONFLICT"><aside class="declaration">#define </aside>TGS_EVENT_REPO_MERGE_CONFLICT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L101"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 101"></a></h3><p>When the repository encounters a merge conflict: Parameters: Base SHA, target SHA, base reference, target reference.</p><h3 id="define/TGS_EVENT_REPO_MERGE_PULL_REQUEST"><aside class="declaration">#define </aside>TGS_EVENT_REPO_MERGE_PULL_REQUEST <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L81"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 81"></a></h3><p>When the repository test merges. Parameters: PR Number, PR Sha, (Nullable) Comment made by TGS user.</p><h3 id="define/TGS_EVENT_REPO_PRE_SYNCHRONIZE"><aside class="declaration">#define </aside>TGS_EVENT_REPO_PRE_SYNCHRONIZE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L83"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 83"></a></h3><p>Before the repository makes a sychronize operation. Parameters: Absolute repostiory path.</p><h3 id="define/TGS_EVENT_REPO_RESET_ORIGIN"><aside class="declaration">#define </aside>TGS_EVENT_REPO_RESET_ORIGIN <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L75"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 75"></a></h3><p>When the repository is reset to its origin reference. Parameters: Reference name, Commit SHA.</p><h3 id="define/TGS_EVENT_REPO_SUBMODULE_UPDATE"><aside class="declaration">#define </aside>TGS_EVENT_REPO_SUBMODULE_UPDATE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L118"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 118"></a></h3><p>After a single submodule update is performed. Parameters: Updated submodule name.</p><h3 id="define/TGS_EVENT_WATCHDOG_DETACH"><aside class="declaration">#define </aside>TGS_EVENT_WATCHDOG_DETACH <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L107"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 107"></a></h3><p>Before the watchdog detaches for a TGS update/restart. No parameters.</p><h3 id="define/TGS_EVENT_WATCHDOG_REATTACH"><aside class="declaration">#define </aside>TGS_EVENT_WATCHDOG_REATTACH <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L70"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 70"></a></h3><p>After the watchdog reattaches to DD, extra parameter is the new <a href="datum/tgs_version.html" title="/datum/tgs_version">/datum/tgs_version</a> of the server.</p><h3 id="define/TGS_EVENT_WATCHDOG_SHUTDOWN"><aside class="declaration">#define </aside>TGS_EVENT_WATCHDOG_SHUTDOWN <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L105"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 105"></a></h3><p>Before the watchdog shuts down. Not sent for graceful shutdowns. No parameters.</p><h3 id="define/TGS_EVENT_WORLD_PRIME"><aside class="declaration">#define </aside>TGS_EVENT_WORLD_PRIME <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L114"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 114"></a></h3><p>Watchdog event when TgsInitializationComplete() is called. No parameters.</p><h3 id="define/TGS_FILE2TEXT_NATIVE"><aside class="declaration">#define </aside>TGS_FILE2TEXT_NATIVE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L58"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 58"></a></h3><p>Consumers SHOULD create this define if you want to do TGS configuration outside of this file.</p><h3 id="define/TGS_REBOOT_MODE_NORMAL"><aside class="declaration">#define </aside>TGS_REBOOT_MODE_NORMAL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L127"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 127"></a></h3><p>The server will reboot normally.</p><h3 id="define/TGS_REBOOT_MODE_RESTART"><aside class="declaration">#define </aside>TGS_REBOOT_MODE_RESTART <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L131"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 131"></a></h3><p>The watchdog will restart on reboot.</p><h3 id="define/TGS_REBOOT_MODE_SHUTDOWN"><aside class="declaration">#define </aside>TGS_REBOOT_MODE_SHUTDOWN <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L129"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 129"></a></h3><p>The server will stop running on reboot.</p><h3 id="define/TGS_SECURITY_SAFE"><aside class="declaration">#define </aside>TGS_SECURITY_SAFE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L137"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 137"></a></h3><p>DreamDaemon Safe security level.</p><h3 id="define/TGS_SECURITY_TRUSTED"><aside class="declaration">#define </aside>TGS_SECURITY_TRUSTED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L135"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 135"></a></h3><p>DreamDaemon Trusted security level.</p><h3 id="define/TGS_SECURITY_ULTRASAFE"><aside class="declaration">#define </aside>TGS_SECURITY_ULTRASAFE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L139"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 139"></a></h3><p>DreamDaemon Ultrasafe security level.</p><h3 id="define/TGS_TOPIC"><aside class="declaration">#define </aside>TGS_TOPIC <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L176"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 176"></a></h3><p>Consumers MUST run this macro at the start of [/world/proc/Topic].</p><h3 id="define/TGS_VISIBILITY_INVISIBLE"><aside class="declaration">#define </aside>TGS_VISIBILITY_INVISIBLE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L146"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 146"></a></h3><p>DreamDaemon invisible visibility level.</p><h3 id="define/TGS_VISIBILITY_PRIVATE"><aside class="declaration">#define </aside>TGS_VISIBILITY_PRIVATE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L144"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 144"></a></h3><p>DreamDaemon private visibility level.</p><h3 id="define/TGS_VISIBILITY_PUBLIC"><aside class="declaration">#define </aside>TGS_VISIBILITY_PUBLIC <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L142"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 142"></a></h3><p>DreamDaemon public visibility level.</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> |