Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/say_channel

Say channel datums govern the dissemination of messages to registered listen input module datums. In its simplest form, this involves a say message datum being passed from an output module to a channel, and the channel then performing shared input formatting before passing the say message to registered listen modules. Say channels also determine whether a message should be affected by output and input modifiers, and whether the sender should display a speech bubble and play a speech sound.

Vars

affected_by_modifiersWhether messages sent through this channel should be affected by say or listen modifiers.
channel_idThis channel datum's channel ID.
disabled_messageThe message to display to a speaker if they attempt to send a message over this channel while it is disabled.
enabledIf disabled, this channel will not receive nor send any messages.
listenersAn associative list of listeners registered to this channel, indexed by input module type.
module_tree_signal_registrationsAn associative list of module trees, with the associated number of times a signal has been registered to them.
suppress_hear_soundWhether recipients of messages sent through this channel should hear a sound on receiving a message.
suppress_say_soundWhether the speaker of a message sent through this channel should make a sound on sending a message.
suppress_speech_bubbleWhether the speaker of a message sent through this channel should display a speech bubble on sending a message.
track_outermost_listenerWhether this local channel should request registered input modules to track their outermost listeners.

Procs

PassToChannelThe primary entry point for say message datums; they will be passed to this channel through this proc.
PassToListenersPass a message to all listen modules in a specified list, indexed in sublists by type.
PassToOverriddenAtomListenersA secondary entry point for say message datums; they will not be passed over this channel conventionally, but rather disseminated to a stored list of atom listeners.
RegisterInputRegister a listener for hearing messages on a channel.
RegisterOutputSet up an output module for sending messages over this channel.
UnregisterInputUnregister a listener so it no longer receieves messages from this channel.
UnregisterOutputRemove any setup applied to an output module that was sending messages over this channel.
log_messageIf a message was spoken by a client, logs the message.

Var Details

affected_by_modifiers

Whether messages sent through this channel should be affected by say or listen modifiers.

channel_id

This channel datum's channel ID.

disabled_message

The message to display to a speaker if they attempt to send a message over this channel while it is disabled.

enabled

If disabled, this channel will not receive nor send any messages.

listeners

An associative list of listeners registered to this channel, indexed by input module type.

module_tree_signal_registrations

An associative list of module trees, with the associated number of times a signal has been registered to them.

suppress_hear_sound

Whether recipients of messages sent through this channel should hear a sound on receiving a message.

suppress_say_sound

Whether the speaker of a message sent through this channel should make a sound on sending a message.

suppress_speech_bubble

Whether the speaker of a message sent through this channel should display a speech bubble on sending a message.

track_outermost_listener

Whether this local channel should request registered input modules to track their outermost listeners.

Proc Details

PassToChannel

The primary entry point for say message datums; they will be passed to this channel through this proc.

PassToListeners

Pass a message to all listen modules in a specified list, indexed in sublists by type.

PassToOverriddenAtomListeners

A secondary entry point for say message datums; they will not be passed over this channel conventionally, but rather disseminated to a stored list of atom listeners.

RegisterInput

Register a listener for hearing messages on a channel.

RegisterOutput

Set up an output module for sending messages over this channel.

UnregisterInput

Unregister a listener so it no longer receieves messages from this channel.

UnregisterOutput

Remove any setup applied to an output module that was sending messages over this channel.

log_message

If a message was spoken by a client, logs the message.