Files
Paradise/datum/feed_network.html

13 lines
5.9 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/feed_network - 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/feed_network.html#var">Var Details</a> - <a href="datum/feed_network.html#proc">Proc Details</a></header><main><h1>Feed Network <aside>/<a href="datum.html">datum</a>/<a href="datum/feed_network.html">feed_network</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 6"></a></h1><p>Singleton that contains all informations related to newscasters (channels, stories).</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/feed_network.html#var/channels">channels</a></th><td>Contains all of the feed channels created during the round.</td></tr><tr><th><a href="datum/feed_network.html#var/stories">stories</a></th><td>Contains all of the feed stories created during the round.</td></tr><tr><th><a href="datum/feed_network.html#var/wanted_issue">wanted_issue</a></th><td>The current wanted issue.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/feed_network.html#proc/get_channel_by_author">get_channel_by_author</a></th><td>Returns the <a href="datum/feed_channel.html" title="/datum/feed_channel">/datum/feed_channel</a> with the given author, or null if not found.</td></tr><tr><th><a href="datum/feed_network.html#proc/get_channel_by_idx">get_channel_by_idx</a></th><td>Returns the <a href="datum/feed_channel.html" title="/datum/feed_channel">/datum/feed_channel</a> at the given index, or null if not found.</td></tr><tr><th><a href="datum/feed_network.html#proc/get_channel_by_name">get_channel_by_name</a></th><td>Returns the <a href="datum/feed_channel.html" title="/datum/feed_channel">/datum/feed_channel</a> with the given name, or null if not found.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/channels"><aside class="declaration">var </aside>channels <aside> /list/<a href="datum.html">datum</a>/<a href="datum/feed_channel.html">feed_channel</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L8"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 8"></a></h3><p>Contains all of the feed channels created during the round.</p><h3 id="var/stories"><aside class="declaration">var </aside>stories <aside> /list/<a href="datum.html">datum</a>/<a href="datum/feed_message.html">feed_message</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L10"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 10"></a></h3><p>Contains all of the feed stories created during the round.</p><h3 id="var/wanted_issue"><aside class="declaration">var </aside>wanted_issue <aside> /<a href="datum.html">datum</a>/<a href="datum/feed_message.html">feed_message</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 12"></a></h3><p>The current wanted issue.</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_channel_by_author"><aside class="declaration">proc </aside>get_channel_by_author<aside>(author) <span class="as"> as </span>/<a href="datum.html">datum</a>/<a href="datum/feed_channel.html">feed_channel</a> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L33"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 33"></a></aside></h3><p>Returns the <a href="datum/feed_channel.html" title="/datum/feed_channel">/datum/feed_channel</a> with the given author, or null if not found.</p>
<p>Arguments:</p>
<ul>
<li>author - The author</li>
</ul><h3 id="proc/get_channel_by_idx"><aside class="declaration">proc </aside>get_channel_by_idx<aside>(idx) <span class="as"> as </span>/<a href="datum.html">datum</a>/<a href="datum/feed_channel.html">feed_channel</a> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L46"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 46"></a></aside></h3><p>Returns the <a href="datum/feed_channel.html" title="/datum/feed_channel">/datum/feed_channel</a> at the given index, or null if not found.</p>
<p>Arguments:</p>
<ul>
<li>idx - The index</li>
</ul><h3 id="proc/get_channel_by_name"><aside class="declaration">proc </aside>get_channel_by_name<aside>(name) <span class="as"> as </span>/<a href="datum.html">datum</a>/<a href="datum/feed_channel.html">feed_channel</a> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/newscaster/newsfeed_datums.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/newscaster/newsfeed_datums.dm 20"></a></aside></h3><p>Returns the <a href="datum/feed_channel.html" title="/datum/feed_channel">/datum/feed_channel</a> with the given name, or null if not found.</p>
<p>Arguments:</p>
<ul>
<li>name - The name</li>
</ul></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>