

Breaking Change for next RoR2 Content Update: R2API Submodules (ResourceAPI, SurvivorAPI, etc) will be only enabled by using the R2APISubmoduleDependency attribute somewhere in your mod. As of the next update (for new BepInEx) all submodules will be enabled by default.
Example usage:
[R2APISubmoduleDependency("SurvivorAPI", "DifficultyAPI")]
R2API is designed to provide an abstraction layer in order to expose and simplify APIs to allow developers to modify Risk of Rain 2 more easily, while still keeping mod interoperability in mind.
At it's heart, R2API is meant to be base work, which is why it doesnt include any additional in game functionality,
be it for developing or for users in general. This is by choice. A game with just R2API should feel and behave the
same as an unmodded game, the isModded flag excluded.
The latest stable version is NO LONGER included in the BepInEx Pack on Thunderstore.
Bleeding Edge
Latest bleeding edge builds of
masterare hosted on Azure, and may be downloaded using theArtifactsdrop down menu. The contents ofR2APIshould be extracted into theBepInExfolder.