pub struct Map { /* private fields */ }Expand description
Representation of all map-related information that can be parsed from a Company of Heroes 3 replay
Implementations§
Source§impl Map
impl Map
Sourcepub fn filename(&self) -> &str
pub fn filename(&self) -> &str
This is a “filename” in the sense that its structure resembles one, but it doesn’t actually point to any file on the file system. The final “token” in this string (if you split by slash) generally corresponds to the map name returned by the CoH3 stats API. The string is UTF-8 encoded.
Sourcepub fn localized_name_id(&self) -> &str
pub fn localized_name_id(&self) -> &str
Entity ID that corresponds to a localization string that represents the localized name of the map. Conventionally these IDs do not change between patches, but that isn’t guaranteed. The string is UTF-16 encoded.
Sourcepub fn localized_description_id(&self) -> &str
pub fn localized_description_id(&self) -> &str
Entity ID that corresponds to a localization string that represents the localized description of the map. Conventionally these IDs do not change between patches, but that isn’t guaranteed. The string is UTF-16 encoded.