Class Patches
A group of patches
Inheritance
System.Object
Patches
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class Patches
Constructors
| Improve this Doc View SourcePatches(Patch[], Patch[], Patch[], Patch[])
Creates a group of patches
Declaration
public Patches(Patch[] prefixes, Patch[] postfixes, Patch[] transpilers, Patch[] finalizers)
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 |
Fields
| Improve this Doc View SourceFinalizers
A collection of finalizer Patch
Declaration
public readonly ReadOnlyCollection<Patch> Finalizers
Field Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
Postfixes
A collection of postfix Patch
Declaration
public readonly ReadOnlyCollection<Patch> Postfixes
Field Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
Prefixes
A collection of prefix Patch
Declaration
public readonly ReadOnlyCollection<Patch> Prefixes
Field Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
Transpilers
A collection of transpiler Patch
Declaration
public readonly ReadOnlyCollection<Patch> Transpilers
Field Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
Properties
| Improve this Doc View SourceOwners
Gets all owners (Harmony IDs) or all known patches
Declaration
public ReadOnlyCollection<string> Owners { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<System.String> | The patch owners |