Skip to content
Version 2.11.0
↓ Get the launcher

IHarmonyHost.Create method

Creates a Harmony instance owned by this plugin. Its id is the plugin id, or "<pluginId>.<suffix>" when suffix is non-empty (use a suffix to hold several independently-unpatchable instances). All instances created here are unpatched on plugin dispose.

public Harmony Create(string suffix = "")
parameter description
suffix Optional id suffix for a distinct patch group; empty uses the bare plugin id.