[][src]Struct genie_rec::HDGameOptions

pub struct HDGameOptions {
    pub dlc_options: DLCOptions,
    pub difficulty: Difficulty,
    pub map_size: MapSize,
    pub map_type: MapType,
    pub visibility: Visibility,
    pub starting_resources: ResourceLevel,
    pub starting_age: Age,
    pub ending_age: Age,
    pub game_mode: GameMode,
    pub random_map_name: Option<String>,
    pub scenario_name: Option<String>,
    pub game_speed: GameSpeed,
    pub treaty_length: i32,
    pub population_limit: i32,
    pub num_players: i32,
    pub victory_amount: i32,
    pub trading_enabled: bool,
    pub team_bonuses_enabled: bool,
    pub randomize_positions_enabled: bool,
    pub full_tech_tree_enabled: bool,
    pub num_starting_units: i8,
    pub teams_locked: bool,
    pub speed_locked: bool,
    pub multiplayer: bool,
    pub cheats_enabled: bool,
    pub record_game: bool,
    pub animals_enabled: bool,
    pub predators_enabled: bool,
    pub scenario_player_indices: Vec<i32>,
}

Fields

dlc_options: DLCOptionsdifficulty: Difficultymap_size: MapSizemap_type: MapTypevisibility: Visibilitystarting_resources: ResourceLevelstarting_age: Ageending_age: Agegame_mode: GameModerandom_map_name: Option<String>scenario_name: Option<String>game_speed: GameSpeedtreaty_length: i32population_limit: i32num_players: i32victory_amount: i32trading_enabled: boolteam_bonuses_enabled: boolrandomize_positions_enabled: boolfull_tech_tree_enabled: boolnum_starting_units: i8teams_locked: boolspeed_locked: boolmultiplayer: boolcheats_enabled: boolrecord_game: boolanimals_enabled: boolpredators_enabled: boolscenario_player_indices: Vec<i32>

Trait Implementations

impl Clone for HDGameOptions[src]

impl Debug for HDGameOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.