Goonstation 13 - Modules - TypesProc Details

/datum/client_image_group

Procs

add_imageAssociative list containing images for a given mob. Associative list containing subscribed mobs and the amount of times they subscribed to the image group (to handle multiple sources). Adds an image to the image list and adds it to all mobs' clients directly where appropriate. Registers signal to track mob invisibility changes.
add_images_to_client_of_mobRegistered on MOB_LOGIN, when a client enters the mob adds the images to it.
add_mobAdds a mob to the mob list, adds all images to its client and registers signals on it.
on_mob_invisibility_changedRemoves or adds images to clients depending on the mob who the icons belong to's invisibility.
remove_imageRemoves an image from the image list and from mobs' clients.
remove_images_from_client_of_mobRegistered on MOB_LOGOUT, when a client leaves the mob removes the images from it.
remove_mobRemoves a mob from the mob list, removes the images from its client and unregisters signals on it.
remove_mob_forcedRegistered on PARENT_PRE_DISPOSING, removes the mob from the list and unregisters signals from the mob when it's deleted.

Proc Details

add_image

Associative list containing images for a given mob. Associative list containing subscribed mobs and the amount of times they subscribed to the image group (to handle multiple sources). Adds an image to the image list and adds it to all mobs' clients directly where appropriate. Registers signal to track mob invisibility changes.

add_images_to_client_of_mob

Registered on MOB_LOGIN, when a client enters the mob adds the images to it.

add_mob

Adds a mob to the mob list, adds all images to its client and registers signals on it.

on_mob_invisibility_changed

Removes or adds images to clients depending on the mob who the icons belong to's invisibility.

remove_image

Removes an image from the image list and from mobs' clients.

remove_images_from_client_of_mob

Registered on MOB_LOGOUT, when a client leaves the mob removes the images from it.

remove_mob

Removes a mob from the mob list, removes the images from its client and unregisters signals on it.

remove_mob_forced

Registered on PARENT_PRE_DISPOSING, removes the mob from the list and unregisters signals from the mob when it's deleted.