Show / Hide Table of Contents

Delegate GetVariableProxy

Called when anything in the game tries to get a generic variable

Namespace: Modding.Delegates
Assembly: HollowKnight.dll
Syntax
public delegate object GetVariableProxy(Type type, string name, object value)
Parameters
Type Name Description
Type type

The type of the variable

string name

The field being gotten

object value

The original value of the field

Returns
Type Description
object

The modified value

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾