Show / Hide Table of Contents

Class PatchInfo

Serializable patch information

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

Constructors

PatchInfo()

Declaration
public PatchInfo()

Fields

VersionCount

Number of replacements created

Declaration
public int VersionCount
Field Value
Type Description
int

finalizers

Finalizers as an array of Patch

Declaration
public Patch[] finalizers
Field Value
Type Description
Patch[]

innerpostfixes

InnerPostfixes as an array of Patch

Declaration
public Patch[] innerpostfixes
Field Value
Type Description
Patch[]

innerprefixes

InnerPrefixes as an array of Patch

Declaration
public Patch[] innerprefixes
Field Value
Type Description
Patch[]

postfixes

Postfixes as an array of Patch

Declaration
public Patch[] postfixes
Field Value
Type Description
Patch[]

prefixes

Prefixes as an array of Patch

Declaration
public Patch[] prefixes
Field Value
Type Description
Patch[]

transpilers

Transpilers as an array of Patch

Declaration
public Patch[] transpilers
Field Value
Type Description
Patch[]

Properties

Debugging

Returns if any of the patches wants debugging turned on

Declaration
public bool Debugging { get; }
Property Value
Type Description
bool

Methods

RemoveFinalizer(string)

Removes finalizers

Declaration
public void RemoveFinalizer(string owner)
Parameters
Type Name Description
string owner

The owner of the finalizers, or * for all

RemoveInnerPostfix(string)

Removes inner postfixes

Declaration
public void RemoveInnerPostfix(string owner)
Parameters
Type Name Description
string owner

The owner of the inner postfixes, or * for all

RemoveInnerPrefix(string)

Removes inner prefixes

Declaration
public void RemoveInnerPrefix(string owner)
Parameters
Type Name Description
string owner

The owner of the inner prefixes, or * for all

RemovePatch(MethodInfo)

Removes a patch using its method

Declaration
public void RemovePatch(MethodInfo patch)
Parameters
Type Name Description
MethodInfo patch

The method of the patch to remove

RemovePostfix(string)

Removes postfixes

Declaration
public void RemovePostfix(string owner)
Parameters
Type Name Description
string owner

The owner of the postfixes, or * for all

RemovePrefix(string)

Removes prefixes

Declaration
public void RemovePrefix(string owner)
Parameters
Type Name Description
string owner

The owner of the prefixes, or * for all

RemoveTranspiler(string)

Removes transpilers

Declaration
public void RemoveTranspiler(string owner)
Parameters
Type Name Description
string owner

The owner of the transpilers, or * for all

In this article
Back to top Generated by DocFX