Skip to main content

Crate rlbot

Crate rlbot 

Source
Expand description
RLBot

This is a Rust interface for the RLBot v5 socket api. RLBot is a framework for creating offline Rocket League bots. This crate lets you write bots using a simple, safe interface that should feel comfortable to Rust developers.

All of the types in the flat module are generated from the flatbuffers spec. Documentation for these types are carried over from the spec. For further documentation about how RLBot works, see the resources linked on the RLBot Wiki.

The two main different ways of using this crate follows:

Re-exports§

pub use rlbot_flat::glam;

Modules§

agents
Agent frameworks: batteries-included event loops for the three RLBot interface kinds.
flat
This module contains all of the types that are generated from the RLBot flatbuffers schema
render
state_builder
This module contains extension methods for easy construction of statesetting-related structs.
util

Structs§

RLBotConnection
A wrapper around a TCP connection to core.
StartingInfo
The three packets every interface waits for after connecting.

Enums§

PacketBuildError
Something went wrong while serializing an outgoing packet.
PacketParseError
Something went wrong while unpacking a packet received from core.
RLBotError
Something went wrong while talking to core over the socket.