Struct rlbot::RLBot [−][src]
pub struct RLBot { /* fields omitted */ }
The main interface to RLBot. All the RLBot calls that are available can be made through this struct.
Methods
impl RLBot
[src]
impl RLBot
pub fn packeteer(&self) -> Packeteer
[src]
pub fn packeteer(&self) -> Packeteer
Returns a Packeteer
object, for conveniently accessing game state
as it occurs.
pub fn update_player_input(
&self,
player_input: PlayerInput,
player_index: c_int
) -> Result<(), RLBotError>
[src]
pub fn update_player_input(
&self,
player_input: PlayerInput,
player_index: c_int
) -> Result<(), RLBotError>
Sends player input to RLBot.
pub fn update_live_data_packet(
&self,
packet: &mut LiveDataPacket
) -> Result<(), RLBotError>
[src]
pub fn update_live_data_packet(
&self,
packet: &mut LiveDataPacket
) -> Result<(), RLBotError>
Grabs the current LiveDataPacket
from RLBot.
Consider using packeteer
instead for a more
convenient interface.
pub fn start_match(
&self,
match_settings: MatchSettings
) -> Result<(), RLBotError>
[src]
pub fn start_match(
&self,
match_settings: MatchSettings
) -> Result<(), RLBotError>
Tell RLBot to start a match.