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