Available on crate feature
mmo
only.Expand description
Interface for Screeps inter-shard memory, allowing communication between instances of your code running on different shards.
Functions§
- get_
local - Get the current local
JsString
intershard memory for this shard. - get_
remote - Get the data that another shard’s code instance has written to its intershard memory segment.
- set_
local - Overwrite the current shard’s intershard memory segment with new
contents. Maximum allowed length of
INTER_SHARD_MEMORY_SIZE_LIMIT
UTF-16 units.