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.sln
in 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.csproj
to have an incremented version number. - Modify
RLBot/RLBot.csproj
to update the release notes, etc. - Make sure
RLBot
has been built with the Release configuration:dotnet build -c Release
- This should generate
.nupkg
and.snupkg
files 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
.nupkg
file, then upload the.snupkg
file.