Skip to content

RLBot/csharp-interface

Repository files navigation

RLBot CSharpInterface

A library to interface with the RLBot v5 framework through C#.

Usage

Add the package to your project using:

dotnet add package RLBot.Framework

You can use --version x.y.z to install a specific version. See https://www.nuget.org/packages/RLBot.Framework for available versions.

Refer to Tests/ for a few examples.

Contribute

Setup

  1. Make sure .NET 8 SDK is installed
  2. Clone repository
  3. Update submodules: git submodules update --init
  4. Generate flatbuffers: ./generate-flatbuffers.sh
  5. Open CSharpInterface.sln in your favorite C# IDE

Formatting

This project uses the CSharpier formatter. You can run it with dotnet csharpier .

Testing

There is currently a few system tests available in Tests/.

TODO

Deployment

The RLBot interface is available on NuGet at https://www.nuget.org/packages/RLBot.Framework.

To publish new versions there:

  1. Modify RLBot/RLBot.csproj to have an incremented version number.
  2. Modify RLBot/RLBot.csproj to update the release notes, etc.
  3. Make sure RLBot has been built with the Release configuration: dotnet build -c Release
    • This should generate .nupkg and .snupkg files in RLBot/bin/Release/.
  4. Go to https://www.nuget.org/packages/manage/upload and log in with an account owning the nuget package.
  5. Upload the .nupkg file, then upload the .snupkg file.

About

A library to interface with the RLBot v5 framework through C#

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages