code/__DEFINES/dcs/helpers.dm
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. |
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 |
LoadComponent | A wrapper for _LoadComponent 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
LoadComponent
A wrapper for _LoadComponent 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.