[−][src]Struct rlbot::MatchSettings
Options for starting a match.
Pass this to RLBot::start_match
` to make the
magic happen.
Fields
player_configurations: Vec<PlayerConfiguration<'a>>
game_mode: GameMode
game_map: GameMap
skip_replays: bool
instant_start: bool
mutator_settings: MutatorSettings
Methods
impl<'a> MatchSettings<'a>
[src]
pub fn new() -> Self
[src]
pub fn rlbot_vs_rlbot(blue_name: &'a str, orange_name: &'a str) -> Self
[src]
Create a MatchSettings
for a 1v1 game with two RLBot-controlled bots.
pub fn rlbot_vs_allstar(rlbot_name: &'a str, allstar_name: &'a str) -> Self
[src]
Create a MatchSettings
for a 1v1 game with Team Blue as an
RLBot-controlled bot, and Team Orange as a Psyonix all-star bot.
pub fn allstar_vs_allstar(blue_name: &'a str, orange_name: &'a str) -> Self
[src]
Create a MatchSettings
for a 1v1 game with two Psyonix all-star bots.
pub fn player_configurations(
self,
player_configurations: impl IntoIterator<Item = PlayerConfiguration<'a>>
) -> Self
[src]
self,
player_configurations: impl IntoIterator<Item = PlayerConfiguration<'a>>
) -> Self
pub fn game_mode(self, game_mode: GameMode) -> Self
[src]
pub fn game_map(self, game_map: GameMap) -> Self
[src]
pub fn skip_replays(self, skip_replays: bool) -> Self
[src]
pub fn instant_start(self, instant_start: bool) -> Self
[src]
pub fn mutator_settings(self, mutator_settings: MutatorSettings) -> Self
[src]
Trait Implementations
impl<'a> Clone for MatchSettings<'a>
[src]
fn clone(&self) -> MatchSettings<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Default for MatchSettings<'a>
[src]
Auto Trait Implementations
impl<'a> Send for MatchSettings<'a>
impl<'a> Sync for MatchSettings<'a>
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,