Class Patches
- Namespace
- HarmonyLib
- Assembly
- 0Harmony.dll
A group of patches
public class Patches
- Inheritance
-
objectPatches
Constructors
Patches(Patch[], Patch[], Patch[], Patch[], Patch[], Patch[])
Creates a group of patches
public Patches(Patch[] prefixes, Patch[] postfixes, Patch[] transpilers, Patch[] finalizers, Patch[] innerprefixes, Patch[] innerpostfixes)
Parameters
prefixesPatch[]An array of prefixes as Patch
postfixesPatch[]An array of postfixes as Patch
transpilersPatch[]An array of transpileres as Patch
finalizersPatch[]An array of finalizeres as Patch
innerprefixesPatch[]An array of inner prefixes as Patch
innerpostfixesPatch[]An array of inner postfixes as Patch
Patches(Patch[], Patch[], Patch[], Patch[], Patch[], Patch[], Patch[])
Creates a group containing ordinary and inner patches
public Patches(Patch[] prefixes, Patch[] postfixes, Patch[] transpilers, Patch[] finalizers, Patch[] innerprefixes, Patch[] innerpostfixes, Patch[] innerfinalizers)
Parameters
prefixesPatch[]Ordinary prefixes
postfixesPatch[]Ordinary postfixes
transpilersPatch[]Transpilers
finalizersPatch[]Ordinary finalizers
innerprefixesPatch[]Inner prefixes
innerpostfixesPatch[]Inner postfixes
innerfinalizersPatch[]Inner finalizers
Fields
Finalizers
A collection of finalizer Patch
public readonly ReadOnlyCollection<Patch> Finalizers
Field Value
- ReadOnlyCollection<Patch>
InnerFinalizers
A collection of inner finalizer patches
public readonly ReadOnlyCollection<Patch> InnerFinalizers
Field Value
- ReadOnlyCollection<Patch>
InnerPostfixes
A collection of inner postfix Patch
public readonly ReadOnlyCollection<Patch> InnerPostfixes
Field Value
- ReadOnlyCollection<Patch>
InnerPrefixes
A collection of inner prefix Patch
public readonly ReadOnlyCollection<Patch> InnerPrefixes
Field Value
- ReadOnlyCollection<Patch>
Postfixes
A collection of postfix Patch
public readonly ReadOnlyCollection<Patch> Postfixes
Field Value
- ReadOnlyCollection<Patch>
Prefixes
A collection of prefix Patch
public readonly ReadOnlyCollection<Patch> Prefixes
Field Value
- ReadOnlyCollection<Patch>
Transpilers
A collection of transpiler Patch
public readonly ReadOnlyCollection<Patch> Transpilers
Field Value
- ReadOnlyCollection<Patch>
Properties
Owners
Gets all owners (Harmony IDs) or all known patches
public ReadOnlyCollection<string> Owners { get; }
Property Value
- ReadOnlyCollection<string>
The patch owners