docs/api/HarmonyLib.Patches.html
A group of patches
System.Object
Patches
public class Patches
Creates a group of patches
public Patches(Patch[] prefixes, Patch[] postfixes, Patch[] transpilers, Patch[] finalizers, Patch[] innerprefixes, Patch[] innerpostfixes)
| 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
|
A collection of finalizer Patch
public readonly ReadOnlyCollection<Patch> Finalizers
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
A collection of inner postfix Patch
public readonly ReadOnlyCollection<Patch> InnerPostfixes
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
A collection of inner prefix Patch
public readonly ReadOnlyCollection<Patch> InnerPrefixes
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
A collection of postfix Patch
public readonly ReadOnlyCollection<Patch> Postfixes
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
A collection of prefix Patch
public readonly ReadOnlyCollection<Patch> Prefixes
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
A collection of transpiler Patch
public readonly ReadOnlyCollection<Patch> Transpilers
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Patch> |
Gets all owners (Harmony IDs) or all known patches
public ReadOnlyCollection<string> Owners { get; }
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection\ |
The patch owners
|