byond - Modules - TypesDefine Details

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.
SIGNAL_HANDLER_DOES_SLEEPSignifies that this proc is used to handle signals, but also sleeps. Do not use this for new work.
AddElementA wrapper for _AddElement that allows us to pretend we're using normal named arguments
RemoveElementA wrapper for _RemoveElement that allows us to pretend we're using normal named arguments
AddComponentA wrapper for _AddComponent that allows us to pretend we're using normal named arguments

Define Details

AddComponent

A wrapper for _AddComponent that allows us to pretend we're using normal named arguments

AddElement

A wrapper for _AddElement that allows us to pretend we're using normal named arguments

RemoveElement

A wrapper for _RemoveElement that allows us to pretend we're using normal named arguments

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.

SIGNAL_HANDLER_DOES_SLEEP

Signifies that this proc is used to handle signals, but also sleeps. Do not use this for new work.