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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)