/tg/ Station 13 - Modules - TypesVar Details - Proc Details

apc_control

Vars

active_apcThe APC we're remotely connected to right now
auth_idTracks the current logged-in user's ID card's name and assignment
is_on_stationWhether the computer is on a station-level; set in Initialize() for use in checking APCs
logsList of logs containing events like logins/logoffs, APC access and manipulation, checking the APC/logs tabs and restoring logging after an emag
restoringWhether the console is currently being restored from an emagged state
should_logWhether actions are being logged to the console's logs or not

Procs

check_apcChecks for whether the APC provided is eligible for access and being listed in the APC list. The APC has to:
connect_apcInitiates remote access to the APC
disconnect_apcDisconnect from the APC we're currently in remote access with arguments: mute - whether the APC should announce the disconnection locally, passed into apc's disconnect_remote_access()
log_activityCreates a log entry in the console with a timestamp, current login ID data and the text provided in log_text
on_apc_destroyedDisconnects the computer from the accessed APC upon its destruction
restore_compResets the console's emagged state and re-enables logging of activity

Var Details

active_apc

The APC we're remotely connected to right now

auth_id

Tracks the current logged-in user's ID card's name and assignment

is_on_station

Whether the computer is on a station-level; set in Initialize() for use in checking APCs

logs

List of logs containing events like logins/logoffs, APC access and manipulation, checking the APC/logs tabs and restoring logging after an emag

restoring

Whether the console is currently being restored from an emagged state

should_log

Whether actions are being logged to the console's logs or not

Proc Details

check_apc

Checks for whether the APC provided is eligible for access and being listed in the APC list. The APC has to:

connect_apc

Initiates remote access to the APC

disconnect_apc

Disconnect from the APC we're currently in remote access with arguments: mute - whether the APC should announce the disconnection locally, passed into apc's disconnect_remote_access()

log_activity

Creates a log entry in the console with a timestamp, current login ID data and the text provided in log_text

on_apc_destroyed

Disconnects the computer from the accessed APC upon its destruction

restore_comp

Resets the console's emagged state and re-enables logging of activity