Sideload API
Use this API
Section titled “Use this API”Copy Sideload.cs into your project. That one file is the whole API.
<Compile Include="path\to\Sideload.cs" />Mark it optional, so your mod still loads without it:
[assembly: MelonOptionalDependencies("Sideload")]Without Sideload every call does nothing and returns a default. Calls made before Sideload loads run once it does.
First steps: Build your first app.
Source: Sideload.Api/Sideload.cs at v1.36.7.