science
Vars | |
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 |
Procs | |
compress_id | Compresses 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:
- id - the ID to compress