Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/listen_module

Listen module datums serve as a parent type for listen inputs and listen modifiers, which exist to modify and format say message datums passed to them from a say channel or listen module tree respectively.

Vars

idID string for cache lookups. This is what this module is called, and it MUST be unique.
parent_treeThe listen tree that this module belongs to.
priorityHow far up the tree this module should go. High values get processed before low values.

Procs

processProcess the message, applying module specific effects. Return null to prevent the message being processed further, or a /datum/say_message instance to continue.

Var Details

id

ID string for cache lookups. This is what this module is called, and it MUST be unique.

parent_tree

The listen tree that this module belongs to.

priority

How far up the tree this module should go. High values get processed before low values.

Proc Details

process

Process the message, applying module specific effects. Return null to prevent the message being processed further, or a /datum/say_message instance to continue.