Back to Harmony

Class PatchInfo

docs/api/HarmonyLib.PatchInfo.html

2.4.2.03.9 KB
Original Source

Class PatchInfo

Serializable patch information

Inheritance

System.Object

PatchInfo

Namespace : HarmonyLib
Assembly : 0Harmony.dll
Syntax
public class PatchInfo

Constructors

PatchInfo()

Declaration
public PatchInfo()

Fields

finalizers

Finalizers as an array of Patch

Declaration
public Patch[] finalizers
Field Value
TypeDescription
Patch[]

innerpostfixes

InnerPostfixes as an array of Patch

Declaration
public Patch[] innerpostfixes
Field Value
TypeDescription
Patch[]

innerprefixes

InnerPrefixes as an array of Patch

Declaration
public Patch[] innerprefixes
Field Value
TypeDescription
Patch[]

postfixes

Postfixes as an array of Patch

Declaration
public Patch[] postfixes
Field Value
TypeDescription
Patch[]

prefixes

Prefixes as an array of Patch

Declaration
public Patch[] prefixes
Field Value
TypeDescription
Patch[]

transpilers

Transpilers as an array of Patch

Declaration
public Patch[] transpilers
Field Value
TypeDescription
Patch[]

VersionCount

Number of replacements created

Declaration
public int VersionCount
Field Value
TypeDescription
System.Int32

Properties

Debugging

Returns if any of the patches wants debugging turned on

Declaration
public bool Debugging { get; }
Property Value
TypeDescription
System.Boolean

Methods

RemoveFinalizer(String)

Removes finalizers

Declaration
public void RemoveFinalizer(string owner)
Parameters
TypeNameDescription
System.Stringowner

The owner of the finalizers, or * for all

|

RemoveInnerPostfix(String)

Removes inner postfixes

Declaration
public void RemoveInnerPostfix(string owner)
Parameters
TypeNameDescription
System.Stringowner

The owner of the inner postfixes, or * for all

|

RemoveInnerPrefix(String)

Removes inner prefixes

Declaration
public void RemoveInnerPrefix(string owner)
Parameters
TypeNameDescription
System.Stringowner

The owner of the inner prefixes, or * for all

|

RemovePatch(MethodInfo)

Removes a patch using its method

Declaration
public void RemovePatch(MethodInfo patch)
Parameters
TypeNameDescription
System.Reflection.MethodInfopatch

The method of the patch to remove

|

RemovePostfix(String)

Removes postfixes

Declaration
public void RemovePostfix(string owner)
Parameters
TypeNameDescription
System.Stringowner

The owner of the postfixes, or * for all

|

RemovePrefix(String)

Removes prefixes

Declaration
public void RemovePrefix(string owner)
Parameters
TypeNameDescription
System.Stringowner

The owner of the prefixes, or * for all

|

RemoveTranspiler(String)

Removes transpilers

Declaration
public void RemoveTranspiler(string owner)
Parameters
TypeNameDescription
System.Stringowner

The owner of the transpilers, or * for all

|