Class Patches
A group of patches
Inheritance
object
Patches
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class Patches
Constructors
Patches(Patch[], Patch[], Patch[], Patch[], Patch[], Patch[])
Creates a group of patches
Declaration
public Patches(Patch[] prefixes, Patch[] postfixes, Patch[] transpilers, Patch[] finalizers, Patch[] innerprefixes, Patch[] innerpostfixes)
Parameters
Type | Name | Description |
---|---|---|
Patch[] | prefixes | An array of prefixes as Patch |
Patch[] | postfixes | An array of postfixes as Patch |
Patch[] | transpilers | An array of transpileres as Patch |
Patch[] | finalizers | An array of finalizeres as Patch |
Patch[] | innerprefixes | An array of inner prefixes as Patch |
Patch[] | innerpostfixes | An array of inner postfixes as Patch |
Fields
Finalizers
A collection of finalizer Patch
Declaration
public readonly ReadOnlyCollection<Patch> Finalizers
Field Value
Type | Description |
---|---|
ReadOnlyCollection<Patch> |
InnerPostfixes
A collection of inner postfix Patch
Declaration
public readonly ReadOnlyCollection<Patch> InnerPostfixes
Field Value
Type | Description |
---|---|
ReadOnlyCollection<Patch> |
InnerPrefixes
A collection of inner prefix Patch
Declaration
public readonly ReadOnlyCollection<Patch> InnerPrefixes
Field Value
Type | Description |
---|---|
ReadOnlyCollection<Patch> |
Postfixes
A collection of postfix Patch
Declaration
public readonly ReadOnlyCollection<Patch> Postfixes
Field Value
Type | Description |
---|---|
ReadOnlyCollection<Patch> |
Prefixes
A collection of prefix Patch
Declaration
public readonly ReadOnlyCollection<Patch> Prefixes
Field Value
Type | Description |
---|---|
ReadOnlyCollection<Patch> |
Transpilers
A collection of transpiler Patch
Declaration
public readonly ReadOnlyCollection<Patch> Transpilers
Field Value
Type | Description |
---|---|
ReadOnlyCollection<Patch> |
Properties
Owners
Gets all owners (Harmony IDs) or all known patches
Declaration
public ReadOnlyCollection<string> Owners { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<string> | The patch owners |