SS1984 - Modules - TypesVar Details - Proc Details

cameranet

Vars

obscured_imagesList of images cloned by all chunk static images put onto turfs cameras cant see Indexed by the plane offset to use

Procs

bareMajorChunkChangeA faster, turf only version of [/datum/cameranet/proc/majorChunkChange] For use in sensitive code, be careful with it
get_available_camera_by_tag_listget_available_camera_by_tag_list
get_available_cameras_dataReturns list of available cameras, ready to use for UIs displaying list of them The format is: list("name" = "camera.c_tag", x = camera.x, y = camera.y, z = camera.z, ref = camera.UID(), status = camera.status)
get_filtered_and_sorted_camerasReturns list of all cameras that passed is_camera_available filter and sorted by cmp_camera_ctag_asc
is_camera_availableChecks if the camera_to_check meets the requirements of availability.

Var Details

obscured_images

List of images cloned by all chunk static images put onto turfs cameras cant see Indexed by the plane offset to use

Proc Details

bareMajorChunkChange

A faster, turf only version of [/datum/cameranet/proc/majorChunkChange] For use in sensitive code, be careful with it

get_available_camera_by_tag_list

get_available_camera_by_tag_list

Builds a list of all available cameras that can be seen to networks_available and in z_levels_available. Entries are stored in c_tag[camera.can_use() ? null : " (Deactivated)"] => camera format Args: networks_available - List of networks that we use to see which cameras are visible to it. z_levels_available - List of z levels to filter camera by. If empty, all z levels are considered valid. sort_by_ctag - If the resulting list should be sorted by c_tag.

get_available_cameras_data

Returns list of available cameras, ready to use for UIs displaying list of them The format is: list("name" = "camera.c_tag", x = camera.x, y = camera.y, z = camera.z, ref = camera.UID(), status = camera.status)

get_filtered_and_sorted_cameras

Returns list of all cameras that passed is_camera_available filter and sorted by cmp_camera_ctag_asc

is_camera_available

Checks if the camera_to_check meets the requirements of availability.