Table of Contents

Class AppliedPatch

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

One applied Harmony patch, as the adapter's census reports it. Method and Patch are Type::Name(ParameterType,...); Kind is prefix, postfix, transpiler, finalizer or ilmanipulator.

public sealed record AppliedPatch
Inheritance
object
AppliedPatch

Constructors

AppliedPatch(string, string, string, int, int, IReadOnlyList<string>, IReadOnlyList<string>, string?)

One applied Harmony patch, as the adapter's census reports it. Method and Patch are Type::Name(ParameterType,...); Kind is prefix, postfix, transpiler, finalizer or ilmanipulator.

public AppliedPatch(string Method, string Owner, string Kind, int Priority, int Index, IReadOnlyList<string> Before, IReadOnlyList<string> After, string? Patch)

Parameters

Method string
Owner string
Kind string
Priority int
Index int
Before IReadOnlyList<string>
After IReadOnlyList<string>
Patch string

Properties

After

public IReadOnlyList<string> After { get; init; }

Property Value

IReadOnlyList<string>

Before

public IReadOnlyList<string> Before { get; init; }

Property Value

IReadOnlyList<string>

Index

public int Index { get; init; }

Property Value

int

Kind

public string Kind { get; init; }

Property Value

string

Method

public string Method { get; init; }

Property Value

string

Owner

public string Owner { get; init; }

Property Value

string

Patch

public string? Patch { get; init; }

Property Value

string

Priority

public int Priority { get; init; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.