Show / Hide Table of Contents

Class Patches

A group of patches

Inheritance
System.Object
Patches
Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public class Patches

Constructors

| Improve this Doc View Source

Patches(Patch[], Patch[], Patch[], Patch[], Patch[])

Creates a group of patches

Declaration
public Patches(Patch[] prefixes, Patch[] postfixes, Patch[] transpilers, Patch[] finalizers, Patch[] infixes)
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[] infixes

An array of infixes as Patch

Fields

| Improve this Doc View Source

Finalizers

A collection of finalizer Patch

Declaration
public readonly ReadOnlyCollection<Patch> Finalizers
Field Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Patch>
| Improve this Doc View Source

Infixes

A collection of infix Patch

Declaration
public readonly ReadOnlyCollection<Patch> Infixes
Field Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Patch>
| Improve this Doc View Source

Postfixes

A collection of postfix Patch

Declaration
public readonly ReadOnlyCollection<Patch> Postfixes
Field Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Patch>
| Improve this Doc View Source

Prefixes

A collection of prefix Patch

Declaration
public readonly ReadOnlyCollection<Patch> Prefixes
Field Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Patch>
| Improve this Doc View Source

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 Source

Owners

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

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