2 lines
4.8 KiB
HTML
2 lines
4.8 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/qdel.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/qdel.html#define">Define Details</a></header><main><h1>code/__DEFINES/qdel.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm0"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm0"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><p>Defines that give qdel hints.</p>
|
|
<p>These can be given as a return in <a href="atom.html#proc/Destroy" title="/atom">/atom/proc/Destroy</a> or by calling <a href="global.html#proc/qdel" title="/global">/proc/qdel</a>.</p></td></tr><tr><th><a href="code/__DEFINES/qdel.html#define/QDEL_HINT_QUEUE">QDEL_HINT_QUEUE</a></th><td><code>qdel</code> should queue the object for deletion.</td></tr><tr><th><a href="code/__DEFINES/qdel.html#define/QDEL_HINT_LETMELIVE">QDEL_HINT_LETMELIVE</a></th><td><code>qdel</code> should let the object live after calling <a href="atom.html#proc/Destroy" title="/atom">/atom/proc/Destroy</a>.</td></tr><tr><th><a href="code/__DEFINES/qdel.html#define/QDEL_HINT_IWILLGC">QDEL_HINT_IWILLGC</a></th><td>Functionally the same as the above. <code>qdel</code> should assume the object will gc on its own, and not check it.</td></tr><tr><th><a href="code/__DEFINES/qdel.html#define/QDEL_HINT_HARDDEL">QDEL_HINT_HARDDEL</a></th><td>Qdel should assume this object won't GC, and queue a hard delete using a hard reference.</td></tr><tr><th><a href="code/__DEFINES/qdel.html#define/QDEL_ITEM_ADMINS_WARNED">QDEL_ITEM_ADMINS_WARNED</a></th><td>Set when admins are told about lag causing qdels in this type.</td></tr><tr><th><a href="code/__DEFINES/qdel.html#define/QDEL_ITEM_SUSPENDED_FOR_LAG">QDEL_ITEM_SUSPENDED_FOR_LAG</a></th><td>Set when a type can no longer be hard deleted on failure because of lag it causes while this happens.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/QDEL_HINT_HARDDEL"><aside class="declaration">#define </aside>QDEL_HINT_HARDDEL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm#L12"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm 12"></a></h3><p>Qdel should assume this object won't GC, and queue a hard delete using a hard reference.</p><h3 id="define/QDEL_HINT_IWILLGC"><aside class="declaration">#define </aside>QDEL_HINT_IWILLGC <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm#L10"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm 10"></a></h3><p>Functionally the same as the above. <code>qdel</code> should assume the object will gc on its own, and not check it.</p><h3 id="define/QDEL_HINT_LETMELIVE"><aside class="declaration">#define </aside>QDEL_HINT_LETMELIVE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm#L8"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm 8"></a></h3><p><code>qdel</code> should let the object live after calling <a href="atom.html#proc/Destroy" title="/atom">/atom/proc/Destroy</a>.</p><h3 id="define/QDEL_HINT_QUEUE"><aside class="declaration">#define </aside>QDEL_HINT_QUEUE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm#L6"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm 6"></a></h3><p><code>qdel</code> should queue the object for deletion.</p><h3 id="define/QDEL_ITEM_ADMINS_WARNED"><aside class="declaration">#define </aside>QDEL_ITEM_ADMINS_WARNED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm#L31"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm 31"></a></h3><p>Set when admins are told about lag causing qdels in this type.</p><h3 id="define/QDEL_ITEM_SUSPENDED_FOR_LAG"><aside class="declaration">#define </aside>QDEL_ITEM_SUSPENDED_FOR_LAG <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/qdel.dm#L32"><img src="git.png" width="16" height="16" title="code/__DEFINES/qdel.dm 32"></a></h3><p>Set when a type can no longer be hard deleted on failure because of lag it causes while this happens.</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> |