mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
3 lines
26 KiB
HTML
3 lines
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 - 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="code/__DEFINES/tgs.html#define">Define Details</a></header><main><h1>code/__DEFINES/tgs.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/tgs.html#define/TGS_EVENT_REBOOT_MODE_CHANGE">TGS_EVENT_REBOOT_MODE_CHANGE</a></th><td>Create this define if you want to do TGS configuration outside of this file.
|
|
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, <code>TRUE</code>/<code>FALSE</code> 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>Put this 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.</td></tr><tr><th><a href="datum/tgs_chat_command.html">/datum/tgs_chat_command</a></th><td>User definable chat command.</td></tr><tr><th><a href="datum/tgs_message_content.html">/datum/tgs_message_content</a></th><td>User definable chat message.</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/channel#embed-object-embed-structure 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/channel#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/channel#embed-object-embed-provider-structure for details.</td></tr><tr><th>/<a href="datum.html">datum</a>/tgs_chat_embed/provider/author</th><td>See https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure for details. Must have name set in New().</td></tr><tr><th>/<a href="datum.html">datum</a>/tgs_chat_embed/field</th><td>See https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure for details. Must have name and value set in New().</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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L141"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 141"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L143"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 143"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L85"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 85"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L89"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 89"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L87"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 87"></a></h3><p>When a compile fails. Parameters: Game directory path, <code>TRUE</code>/<code>FALSE</code> 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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L83"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 83"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L114"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 114"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L95"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 95"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L81"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 81"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L79"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 79"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L77"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 77"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L64"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 64"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L91"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 91"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L60"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 60"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L58"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 58"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L112"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 112"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L56"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 56"></a></h3><p>Create this define if you want to do TGS configuration outside of this file.
|
|
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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L69"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 69"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L71"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 71"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L93"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 93"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L73"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 73"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L75"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 75"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L67"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 67"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L110"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 110"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L99"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 99"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L62"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 62"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L97"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 97"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L106"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 106"></a></h3><p>Watchdog event when TgsInitializationComplete() is called. No parameters.</p><h3 id="define/TGS_REBOOT_MODE_NORMAL"><aside class="declaration">#define </aside>TGS_REBOOT_MODE_NORMAL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L119"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 119"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L123"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 123"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L121"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 121"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L129"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 129"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L127"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 127"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L131"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 131"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L169"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 169"></a></h3><p>Put this 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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L138"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 138"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L136"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 136"></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/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__DEFINES/tgs.dm#L134"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 134"></a></h3><p>DreamDaemon public visibility level.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |