Civilization 13 - Modules - Types — Define Details - Search

code/__defines/dcs/helpers.dm

SEND_SIGNALUsed to trigger signals and call procs registered for that signal The datum hosting the signal is automaticaly added as the first argument Returns a bitfield gathered from all registered procs Arguments given here are packaged in a list and given to _SendSignal
SIGNAL_HANDLERSignifies that this proc is used to handle signals. Every proc you pass to RegisterSignal must have this.

Define Details

SEND_SIGNAL

Used to trigger signals and call procs registered for that signal The datum hosting the signal is automaticaly added as the first argument Returns a bitfield gathered from all registered procs Arguments given here are packaged in a list and given to _SendSignal

SIGNAL_HANDLER

Signifies that this proc is used to handle signals. Every proc you pass to RegisterSignal must have this.