Function screeps::raw_memory::segments
source ยท pub fn segments() -> JsHashMap<u8, String>
Expand description
Get a JsHashMap<u8, String>
with all of the segments requested on
the previous tick, with segment numbers as keys and segment data in
String
form as values.