Function screeps::raw_memory::set_active_foreign_segment
source · Expand description
Implements RawMemory.setActiveForeignSegment
To use the default public segment of username (as set with
set_default_public_segment), Use None instead of Some(id).
To clear the foreign segment, pass the empty string "" as a username.