Struct vault::Map [] [src]

pub struct Map {
    pub file: String,
    pub name: String,
    pub description: String,
    pub description_long: String,
    pub width: u32,
    pub height: u32,
    pub players: u32,
}

This type represents a Company of Heroes 2 map as presented in a CoH2 replay file.

Fields

Internal Relic map file path

Locale string representation of map name

Locale string representation of map description

If applicable, alternate text map description

Map width in game units

Map height in game units

Number of players supported by the map

Methods

impl Map
[src]

Constructs a new Map with empty initial data.

Constructs a new Map initialized with the data given.

Trait Implementations

impl Debug for Map
[src]

Formats the value using the given formatter.

impl Encodable for Map
[src]

Serialize a value using an Encoder.