code/__DEFINES/dcs/helpers.dm ![code/__DEFINES/dcs/helpers.dm0](git.png)
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. |
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 |
AddComponent | A wrapper for _AddComponent that allows us to pretend we're using normal named arguments |
Define Details
AddComponent ![code/__DEFINES/dcs/helpers.dm 23](git.png)
A wrapper for _AddComponent that allows us to pretend we're using normal named arguments
AddElement ![code/__DEFINES/dcs/helpers.dm 18](git.png)
A wrapper for _AddElement that allows us to pretend we're using normal named arguments
RemoveElement ![code/__DEFINES/dcs/helpers.dm 20](git.png)
A wrapper for _RemoveElement that allows us to pretend we're using normal named arguments
SEND_SIGNAL ![code/__DEFINES/dcs/helpers.dm 5](git.png)
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 ![code/__DEFINES/dcs/helpers.dm 11](git.png)
Signifies that this proc is used to handle signals. Every proc you pass to RegisterSignal must have this.
SIGNAL_HANDLER_DOES_SLEEP ![code/__DEFINES/dcs/helpers.dm 15](git.png)
Signifies that this proc is used to handle signals, but also sleeps. Do not use this for new work.