A library to interface with the RLBot v5 framework through C#.
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.
Setup
- Make sure .NET 8 SDK is installed
- Clone repository
- Update submodules:
git submodules update --init - Generate flatbuffers:
./generate-flatbuffers.sh - Open
CSharpInterface.slnin your favorite C# IDE
This project uses the CSharpier formatter. You can run it with dotnet csharpier .
There is currently a few system tests available in Tests/.
TODO
The RLBot interface is available on NuGet at https://www.nuget.org/packages/RLBot.Framework.
To publish new versions there:
- Modify
RLBot/RLBot.csprojto have an incremented version number. - Modify
RLBot/RLBot.csprojto update the release notes, etc. - Make sure
RLBothas been built with the Release configuration:dotnet build -c Release- This should generate
.nupkgand.snupkgfiles inRLBot/bin/Release/.
- This should generate
- Go to https://www.nuget.org/packages/manage/upload and log in with an account owning the nuget package.
- Upload the
.nupkgfile, then upload the.snupkgfile.