Constant screeps::constants::extra::SPAWN_NAME_MAX_LENGTH

source ยท
pub const SPAWN_NAME_MAX_LENGTH: u32 = 100;
Expand description

Maximum length (in UTF-16 units) of the name of a StructureSpawn, set via the optional name parameter when creating a ConstructionSite

Code reference