gointerface

package module
v0.0.0-...-597122b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 8 Imported by: 0

README

rlbot/go-interface

Go interface for the RLBot v5 socket api

Examples

see examples folder

Todo

  • Nicer way to handle flatbuffers? (ideally we dont want the T suffix for the object api)
    • Wrappers? (much manual work)
    • Codegen? (rely upon a lot of custom codegen, eww)
  • Helper stuff (niceties)
    • Rendering
    • Statesetting?
    • Basic Agent

Also see TODO comments

Building

If you're on linux and have just installed, do just build. If not, see ./justfile.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketAbilities

type PacketAbilities interface {
	Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
}

type RLBotConnection

type RLBotConnection struct {
	// contains filtered or unexported fields
}

func Connect

func Connect(addr string) (RLBotConnection, error)

func (RLBotConnection) Initialize

func (conn RLBotConnection) Initialize(default_agent_id string, wants_ball_predictions bool, wants_comms bool) (*flat.MatchConfigurationT, *flat.FieldInfoT, *flat.ControllableTeamInfoT, error)

func (RLBotConnection) RecvPacket

func (conn RLBotConnection) RecvPacket() (PacketAbilities, error)

func (RLBotConnection) SendPacket

func (conn RLBotConnection) SendPacket(packet_obj PacketAbilities) error

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL