Browse documentation

Class Traverse<T>

Namespace
HarmonyLib
Assembly
0Harmony.dll

A reflection helper to read and write private elements

public class Traverse<T>

Type Parameters

T

The result type defined by GetValue()

Inheritance
object
Traverse<T>

Constructors

Traverse(Traverse)

Creates a traverse instance from an existing instance

public Traverse(Traverse traverse)

Parameters

traverse Traverse

The existing Traverse instance

Properties

Value

Gets/Sets the current value

public T Value { get; set; }

Property Value

T

The value to read or write

Harmony 3 preview

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