Feed Network ![code/modules/newscaster/datums.dm 6](git.png)
Singleton that contains all informations related to newscasters (channels, stories).
Vars | |
channels | Contains all of the feed channels created during the round. |
---|---|
stories | Contains all of the feed stories created during the round. |
wanted_issue | The current wanted issue. |
Procs | |
get_channel_by_author | Returns the /datum/feed_channel with the given author, or null if not found. |
get_channel_by_idx | Returns the /datum/feed_channel at the given index, or null if not found. |
get_channel_by_name | Returns the /datum/feed_channel with the given name, or null if not found. |
Var Details
channels ![code/modules/newscaster/datums.dm 8](git.png)
Contains all of the feed channels created during the round.
stories ![code/modules/newscaster/datums.dm 10](git.png)
Contains all of the feed stories created during the round.
wanted_issue ![code/modules/newscaster/datums.dm 14](git.png)
The current wanted issue.
Proc Details
get_channel_by_author
Returns the /datum/feed_channel with the given author, or null if not found.
Arguments:
- author - The author
get_channel_by_idx
Returns the /datum/feed_channel at the given index, or null if not found.
Arguments:
- idx - The index
get_channel_by_name
Returns the /datum/feed_channel with the given name, or null if not found.
Arguments:
- name - The name