[−][src]Struct rlbot::RLBot
The low-level interface to RLBot. All RLBot calls that are available can be made through this struct.
Methods
impl RLBot
[src]
pub fn interface(&self) -> &RLBotInterface
[src]
Gives direct access to the FFI methods in RLBotInterface.dll
.
pub fn packeteer(&self) -> Packeteer
[src]
Returns a Packeteer
object, for conveniently accessing game state
as it occurs.
pub fn physicist(&self) -> Physicist
[src]
Returns a Physicist
object, for conveniently accessing physics
ticks as they occur.
pub fn update_player_input(
&self,
player_index: i32,
controller_state: &ControllerState
) -> Result<(), RLBotError>
[src]
&self,
player_index: i32,
controller_state: &ControllerState
) -> Result<(), RLBotError>
Sends player input to RLBot.
pub fn set_game_state(
&self,
desired_game_state: &DesiredGameState
) -> Result<(), RLBotError>
[src]
&self,
desired_game_state: &DesiredGameState
) -> Result<(), RLBotError>
Sets the game state.
pub fn start_match(
&self,
match_settings: &MatchSettings
) -> Result<(), Box<dyn Error>>
[src]
&self,
match_settings: &MatchSettings
) -> Result<(), Box<dyn Error>>
Tells RLBot to start a match.
pub fn wait_for_match_start(&self) -> Result<(), Box<dyn Error>>
[src]
Spin-waits until a match is active.
Call start_match
before calling this method.
pub fn begin_render_group(&self, id: i32) -> RenderGroup
[src]
Begin drawing to the screen.
The ID identifies a group. Multiple groups can exist and be updated independently. Drawings will remain on screen until they are replaced by a group with the same ID.
A group can be cleared from the screen by rendering an empty group.
See RenderGroup
for more info.
Auto Trait Implementations
Blanket Implementations
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>,