Browse documentation

Class HarmonyPatchCategory

Namespace
HarmonyLib
Assembly
0Harmony.dll

Annotation to define a category for use with PatchCategory

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false)]
public class HarmonyPatchCategory : HarmonyAttribute
Inheritance
object
Attribute
HarmonyPatchCategory
Inherited Members

Constructors

HarmonyPatchCategory(string)

Annotation specifying the category

public HarmonyPatchCategory(string category)

Parameters

category string

Name of patch category

Harmony 3 preview

For the stable release, read the 2.x documentation.