Function screeps::game::cpu::shard_limits

source ·
pub fn shard_limits() -> JsHashMap<JsString, u32>
Expand description

Your assigned CPU limits for each shard in an Object, with shard names in JsString form as keys and numbers as values. This is the same format accepted by set_shard_limits.