rlbot 0.6.0

Rust bindings for the RLBot framework, allowing you to write bots for Rocket League in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use rlbot::{RLBotConnection, flat::StopCommand};

fn main() {
    println!("Connecting");

    let mut rlbot_connection = RLBotConnection::new("127.0.0.1:23234").expect("connection");

    println!("Stopping match");

    rlbot_connection
        .send_packet(StopCommand {
            shutdown_server: false,
        })
        .expect("start_match");
}