Skip to content

SideHustle API

Reference SideHustle.dll from your Mods folder:

<Reference Include="SideHustle">
<HintPath>$(ModsDirectory)\SideHustle.dll</HintPath>
<Private>false</Private>
</Reference>

Mark it optional, so your mod still loads without it:

[assembly: MelonOptionalDependencies("SideHustle")]

Without SideHustle its types are missing too. Call it only after you know it loaded.

First steps: Add a gamemode.

Source: Api/API.cs, Api/ApiFeatures.cs, Api/GamemodeDescriptor.cs, Api/GamemodeTypes.cs, Api/LaunchContext.cs, Api/ModPolicy.cs, Api/Registry.cs, Api/SessionTypes.cs, Api/SettingDescriptor.cs, Api/WorldHygiene.cs, Multiplayer/MultiplayerInfo.cs at v3.4.0.