/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_datum.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_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_QDELETING, outside setting QDELETING to detect
COMSIG_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_ADMIN_DELETINGCalled whenever an admin manually deletes an object, via the "Delete" verb, before qdel() is called: (client/deleting_admin)
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_MERGER_ADDINGCalled on the object being added to a merger group: (datum/merger/new_merger)
COMSIG_MERGER_REMOVINGCalled on the object being removed from a merger group: (datum/merger/old_merger)
COMSIG_MERGER_REFRESH_COMPLETECalled on the merger after finishing a refresh: (list/leaving_members, list/joining_members)
COMSIG_GASMIX_MERGEDFrom /datum/gas_mixture/proc/merge: ()
COMSIG_GASMIX_REMOVEDFrom /datum/gas_mixture/proc/remove: ()
COMSIG_GASMIX_REACTEDFrom /datum/gas_mixture/proc/react: ()
COMSIG_BANK_ACCOUNT_DEBT_PAIDfrom /datum/bank_account/pay_debt(), after a portion or all the debt has been paid.
COMSIG_ON_HIT_EFFECTfrom /datum/component/on_hit_effect/send_signal(): (user, target, hit_zone)
COMSIG_GET_BUBBLE_ICONfrom /datum/component/bubble_icon_override/get_bubble_icon(): (list/holder)

Define Details

COMSIG_ADMIN_DELETING

Called whenever an admin manually deletes an object, via the "Delete" verb, before qdel() is called: (client/deleting_admin)

COMSIG_BANK_ACCOUNT_DEBT_PAID

from /datum/bank_account/pay_debt(), after a portion or all the debt has been paid.

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_GASMIX_MERGED

From /datum/gas_mixture/proc/merge: ()

COMSIG_GASMIX_REACTED

From /datum/gas_mixture/proc/react: ()

COMSIG_GASMIX_REMOVED

From /datum/gas_mixture/proc/remove: ()

COMSIG_GET_BUBBLE_ICON

from /datum/component/bubble_icon_override/get_bubble_icon(): (list/holder)

COMSIG_MERGER_ADDING

Called on the object being added to a merger group: (datum/merger/new_merger)

COMSIG_MERGER_REFRESH_COMPLETE

Called on the merger after finishing a refresh: (list/leaving_members, list/joining_members)

COMSIG_MERGER_REMOVING

Called on the object being removed from a merger group: (datum/merger/old_merger)

COMSIG_ON_HIT_EFFECT

from /datum/component/on_hit_effect/send_signal(): (user, target, hit_zone)

COMSIG_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_QDELETING, outside setting QDELETING to detect

COMSIG_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_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)