Show / Hide Table of Contents

Delegate SetVariableProxy

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

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

The type of the variable

string name

The name of the field being set

object value

The original value the field was being set to

Returns
Type Description
object

The new value of the field

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
☀
☾