science ![code/modules/modular_computers/file_system/programs/techweb.dm 1](git.png)
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 ![code/modules/modular_computers/file_system/programs/techweb.dm 20](git.png)
Used for compressing data sent to the UI via static_data as payload size is of concern
id_cache_seq ![code/modules/modular_computers/file_system/programs/techweb.dm 22](git.png)
Sequence var for the id cache
lock_access ![code/modules/modular_computers/file_system/programs/techweb.dm 16](git.png)
Access needed to lock/unlock the console
locked ![code/modules/modular_computers/file_system/programs/techweb.dm 18](git.png)
Determines if the console is locked, and consequently if actions can be performed with it
stored_research ![code/modules/modular_computers/file_system/programs/techweb.dm 14](git.png)
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