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

science

Vars

id_cacheUsed for compressing data sent to the UI via static_data as payload size is of concern
id_cache_seqSequence var for the id cache
lock_accessAccess needed to lock/unlock the console
lockedDetermines if the console is locked, and consequently if actions can be performed with it
stored_researchReference to global science techweb

Procs

compress_idCompresses an ID to an integer representation using the id_cache, used for deduplication in sent JSON payloads

Var Details

id_cache

Used for compressing data sent to the UI via static_data as payload size is of concern

id_cache_seq

Sequence var for the id cache

lock_access

Access needed to lock/unlock the console

locked

Determines if the console is locked, and consequently if actions can be performed with it

stored_research

Reference to global science techweb

Proc Details

compress_id

Compresses an ID to an integer representation using the id_cache, used for deduplication in sent JSON payloads

Arguments: