Back to Harmony

Class HarmonyReversePatch

docs/api/HarmonyLib.HarmonyReversePatch.html

2.4.2.01.1 KB
Original Source

Class HarmonyReversePatch

Annotation to define your standin methods for reverse patching

Inheritance

System.Object

System.Attribute

HarmonyAttribute

HarmonyReversePatch

Inherited Members

HarmonyAttribute.info

Namespace : HarmonyLib
Assembly : 0Harmony.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method, AllowMultiple = true)]
public class HarmonyReversePatch : HarmonyAttribute, _Attribute

Constructors

HarmonyReversePatch(HarmonyReversePatchType)

An annotation that specifies the type of reverse patching

Declaration
public HarmonyReversePatch(HarmonyReversePatchType type = HarmonyReversePatchType.Original)
Parameters
TypeNameDescription
HarmonyReversePatchTypetype

The HarmonyReversePatchType of the reverse patch

|