Browse documentation

Class HarmonyBefore

Namespace
HarmonyLib
Assembly
0Harmony.dll

A Harmony annotation

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Method)]
public class HarmonyBefore : HarmonyAttribute
Inheritance
object
Attribute
HarmonyBefore
Inherited Members

Constructors

HarmonyBefore(params string[])

A Harmony annotation to define that a patch comes before another patch

public HarmonyBefore(params string[] before)

Parameters

before string[]

The array of harmony IDs of the other patches

Harmony 3 preview

For the stable release, read the 2.x documentation.