Skip to content

Hotline API

Copy Hotline.cs into your project. That one file is the whole API.

<Compile Include="path\to\Hotline.cs" />

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

[assembly: MelonOptionalDependencies("Hotline")]

Without Hotline every call does nothing and returns a default. Calls made before Hotline loads run once it does.

First steps: Add a panel.

Example project: ScheduleOne-HotlineExample.

Source: Hotline.Api/Hotline.cs at v1.3.2.