Browse documentation

Class HarmonyReversePatch

Namespace
HarmonyLib
Assembly
0Harmony.dll

Annotation to define your standin methods for reverse patching

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

Constructors

HarmonyReversePatch(HarmonyReversePatchType)

An annotation that specifies the type of reverse patching

public HarmonyReversePatch(HarmonyReversePatchType type = HarmonyReversePatchType.Original)

Parameters

type HarmonyReversePatchType

The HarmonyReversePatchType of the reverse patch

Harmony 3 preview

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