Show / Hide Table of Contents

Class PatchInfo

Serializable patch information

Inheritance
System.Object
PatchInfo
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
[Serializable]
public class PatchInfo

Fields

| Improve this Doc View Source

finalizers

Finalizers as an array of Patch

Declaration
public Patch[] finalizers
Field Value
Type Description
Patch[]
| Improve this Doc View Source

infixes

Infixes as an array of Patch

Declaration
public Patch[] infixes
Field Value
Type Description
Patch[]
| Improve this Doc View Source

postfixes

Postfixes as an array of Patch

Declaration
public Patch[] postfixes
Field Value
Type Description
Patch[]
| Improve this Doc View Source

prefixes

Prefixes as an array of Patch

Declaration
public Patch[] prefixes
Field Value
Type Description
Patch[]
| Improve this Doc View Source

transpilers

Transpilers as an array of Patch

Declaration
public Patch[] transpilers
Field Value
Type Description
Patch[]
| Improve this Doc View Source

VersionCount

Number of replacements created

Declaration
public int VersionCount
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

Debugging

Returns if any of the patches wants debugging turned on

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

Methods

| Improve this Doc View Source

RemoveFinalizer(String)

Removes finalizers

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

The owner of the finalizers, or * for all

| Improve this Doc View Source

RemoveInfix(String)

Removes infixes

Declaration
public void RemoveInfix(string owner)
Parameters
Type Name Description
System.String owner

The owner of the infix, or * for all

| Improve this Doc View Source

RemovePatch(MethodInfo)

Removes a patch using its method

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

The method of the patch to remove

| Improve this Doc View Source

RemovePostfix(String)

Removes postfixes

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

The owner of the postfixes, or * for all

| Improve this Doc View Source

RemovePrefix(String)

Removes prefixes

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

The owner of the prefixes, or * for all

| Improve this Doc View Source

RemoveTranspiler(String)

Removes transpilers

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

The owner of the transpilers, or * for all

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX