Struct rlbot::ffi::MatchSettings [−][src]
#[repr(C)]pub struct MatchSettings { pub PlayerConfiguration: [PlayerConfiguration; 10], pub NumPlayers: c_int, pub GameMode: GameMode, pub GameMap: GameMap, pub SkipReplays: bool, pub InstantStart: bool, pub MutatorSettings: MutatorSettings, }
Fields
PlayerConfiguration: [PlayerConfiguration; 10]
NumPlayers: c_int
GameMode: GameMode
GameMap: GameMap
SkipReplays: bool
InstantStart: bool
MutatorSettings: MutatorSettings
Methods
impl MatchSettings
[src]
impl MatchSettings
pub fn simple_1v1(hero: &str, villain: &str) -> Self
[src]
pub fn simple_1v1(hero: &str, villain: &str) -> Self
Create a simple 1v1 match with sensible defaults and the given player names. Team Blue will be RLBot-controlled, and Team Orange will be a Psyonix all-star bot.
Trait Implementations
impl Debug for MatchSettings
[src]
impl Debug for MatchSettings
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for MatchSettings
[src]
impl Copy for MatchSettings
impl Clone for MatchSettings
[src]
impl Clone for MatchSettings
fn clone(&self) -> MatchSettings
[src]
fn clone(&self) -> MatchSettings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for MatchSettings
[src]
impl Default for MatchSettings
Auto Trait Implementations
impl Send for MatchSettings
impl Send for MatchSettings
impl Sync for MatchSettings
impl Sync for MatchSettings