code/__DEFINES/dcs/signals/signals_datum.dm
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 RemoveComponent: (/datum/component) |
COMSIG_PARENT_PREQDELETED | before a datum's Destroy() is called: (force), returning a COMPONENT_ABORT_QDEL value will cancel the qdel operation |
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_TOPIC | generic topic handler (usr, href_list) |
COMSIG_UI_ACT | from datum ui_act (usr, action) |
COMSIG_PARENT_ATTACKBY | from base of atom/attackby(): (/obj/item, /mob/living, params) |
COMPONENT_NO_AFTERATTACK | Return this in response if you don't want afterattack to be called |
COMSIG_PARENT_EXAMINE | from base of atom/examine(): (/mob, list/examine_text) |
COMSIG_VV_TOPIC | handler for vv_do_topic (usr, href_list) |
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_ACTION_GIVEN | From /datum/action/proc/give_to(): (mob/owner) |
COMSIG_ACTION_REMOVED | From base of /datum/action/proc/remove_from(): (mob/owner) |
COMSIG_ACTION_HIDDEN | From base of /datum/action/proc/hide_from(): (mob/owner) |
COMSIG_ACTION_UNHIDDEN | From base of /datum/action/proc/unhide_from(): (mob/owner) |
COMSIG_BONUS_DAMAGE | from /datum/component/bonus_damage_stack |
COMSIG_SET_SQUAD | from /datum/squad/proc/put_marine_in_squad |
COMSIG_DROP_RETRIEVAL_CHECK | From /datum/element/drop_retrieval usage: /obj/item/attachable/magnetic_harness/can_be_attached_to_gun(), /obj/item/storage/pouch/sling/can_be_inserted() (/obj/item/I) |
Define Details
COMPONENT_NO_AFTERATTACK
Return this in response if you don't want afterattack to be called
COMSIG_ACTION_GIVEN
From /datum/action/proc/give_to(): (mob/owner)
COMSIG_ACTION_HIDDEN
From base of /datum/action/proc/hide_from(): (mob/owner)
COMSIG_ACTION_REMOVED
From base of /datum/action/proc/remove_from(): (mob/owner)
COMSIG_ACTION_UNHIDDEN
From base of /datum/action/proc/unhide_from(): (mob/owner)
COMSIG_BONUS_DAMAGE
from /datum/component/bonus_damage_stack
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 RemoveComponent: (/datum/component)
COMSIG_DROP_RETRIEVAL_CHECK
From /datum/element/drop_retrieval usage: /obj/item/attachable/magnetic_harness/can_be_attached_to_gun(), /obj/item/storage/pouch/sling/can_be_inserted() (/obj/item/I)
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_ATTACKBY
from base of atom/attackby(): (/obj/item, /mob/living, params)
COMSIG_PARENT_EXAMINE
from base of atom/examine(): (/mob, list/examine_text)
COMSIG_PARENT_PREQDELETED
before a datum's Destroy() is called: (force), returning a COMPONENT_ABORT_QDEL value will cancel the qdel operation
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_SET_SQUAD
from /datum/squad/proc/put_marine_in_squad
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)