rdconsole ![code/modules/research/rdconsole.dm 19](git.png)
Vars | |
d_disk | The stored design disk, if present |
---|---|
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 |
locked | Determines if the console is locked, and consequently if actions can be performed with it |
stored_research | Reference to global science techweb |
t_disk | The stored technology disk, if present |
Procs | |
compress_id | Compresses an ID to an integer representation using the id_cache, used for deduplication in sent JSON payloads |
Var Details
d_disk ![code/modules/research/rdconsole.dm 31](git.png)
The stored design disk, if present
id_cache ![code/modules/research/rdconsole.dm 35](git.png)
Used for compressing data sent to the UI via static_data as payload size is of concern
id_cache_seq ![code/modules/research/rdconsole.dm 37](git.png)
Sequence var for the id cache
locked ![code/modules/research/rdconsole.dm 33](git.png)
Determines if the console is locked, and consequently if actions can be performed with it
stored_research ![code/modules/research/rdconsole.dm 27](git.png)
Reference to global science techweb
t_disk ![code/modules/research/rdconsole.dm 29](git.png)
The stored technology disk, if present
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