mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
1 line
3.5 KiB
HTML
1 line
3.5 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/chat_payload - 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="datum/chat_payload.html#var">Var Details</a> - <a href="datum/chat_payload.html#proc">Proc Details</a></header><main><h1>chat_payload <aside>/<a href="datum.html">datum</a>/<a href="datum/chat_payload.html">chat_payload</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/chat_payload.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/chat_payload.dm 2"></a></h1><p>Stores information about a chat payload</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/chat_payload.html#var/content">content</a></th><td>Message we are sending</td></tr><tr><th><a href="datum/chat_payload.html#var/resends">resends</a></th><td>Resend count</td></tr><tr><th><a href="datum/chat_payload.html#var/sequence">sequence</a></th><td>Sequence number of this payload</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/chat_payload.html#proc/get_content_as_html">get_content_as_html</a></th><td>Returns an HTML-encoded message from our contents.</td></tr><tr><th><a href="datum/chat_payload.html#proc/into_message">into_message</a></th><td>Converts the chat payload into a JSON string</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/content"><aside class="declaration">var </aside>content <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/chat_payload.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/chat_payload.dm 6"></a></h3><p>Message we are sending</p><h3 id="var/resends"><aside class="declaration">var </aside>resends <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/chat_payload.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/chat_payload.dm 8"></a></h3><p>Resend count</p><h3 id="var/sequence"><aside class="declaration">var </aside>sequence <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/chat_payload.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/chat_payload.dm 4"></a></h3><p>Sequence number of this payload</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_content_as_html"><aside class="declaration">proc </aside>get_content_as_html<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/chat_payload.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/chat_payload.dm 15"></a></aside></h3><p>Returns an HTML-encoded message from our contents.</p><h3 id="proc/into_message"><aside class="declaration">proc </aside>into_message<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/chat_payload.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/chat_payload.dm 11"></a></aside></h3><p>Converts the chat payload into a JSON string</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |