Space Station 13 - Modules - Types — Define Details

code/__DEFINES/dcs/signals.dm

COMSIG_COMPONENT_ADDEDwhen a component is added to a datum: (/datum/component)
COMSIG_COMPONENT_REMOVINGbefore a component is removed from a datum because of ClearFromParent: (/datum/component)
COMSIG_PARENT_PREQDELETEDbefore a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation you should only be using this if you want to block deletion that's the only functional difference between it and COMSIG_PARENT_QDELETING, outside setting QDELETING to detect
COMSIG_PARENT_QDELETINGjust before a datum's Destroy() is called: (force), at this point none of the other components chose to interrupt qdel and Destroy will be called
COMSIG_PARENT_QDELETEDafter a datum's Destroy() is called: (force, qdel_hint), at this point none of the other components chose to interrupt qdel and Destroy has been called
COMSIG_TOPICgeneric topic handler (usr, href_list)
COMSIG_VV_TOPIChandler for vv_do_topic (usr, href_list)
COMSIG_UI_ACTfrom datum ui_act (usr, action)
COMSIG_ELEMENT_ATTACHfires on the target datum when an element is attached to it (/datum/element)
COMSIG_ELEMENT_DETACHfires on the target datum when an element is attached to it (/datum/element)
COMSIG_STORAGE_INSERTEDComponent Specific Signals

Define Details

COMSIG_COMPONENT_ADDED

when a component is added to a datum: (/datum/component)

COMSIG_COMPONENT_REMOVING

before a component is removed from a datum because of ClearFromParent: (/datum/component)

COMSIG_ELEMENT_ATTACH

fires on the target datum when an element is attached to it (/datum/element)

COMSIG_ELEMENT_DETACH

fires on the target datum when an element is attached to it (/datum/element)

COMSIG_PARENT_PREQDELETED

before a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation you should only be using this if you want to block deletion that's the only functional difference between it and COMSIG_PARENT_QDELETING, outside setting QDELETING to detect

COMSIG_PARENT_QDELETED

after a datum's Destroy() is called: (force, qdel_hint), at this point none of the other components chose to interrupt qdel and Destroy has been called

COMSIG_PARENT_QDELETING

just before a datum's Destroy() is called: (force), at this point none of the other components chose to interrupt qdel and Destroy will be called

COMSIG_STORAGE_INSERTED

Component Specific Signals

COMSIG_TOPIC

generic topic handler (usr, href_list)

COMSIG_UI_ACT

from datum ui_act (usr, action)

COMSIG_VV_TOPIC

handler for vv_do_topic (usr, href_list)