Show / Hide Table of Contents

Delegate TakeDamageProxy

Called when damage is dealt to the player

Namespace: Modding.Delegates
Assembly: HollowKnight.dll
Syntax
public delegate int TakeDamageProxy(ref int hazardType, int damage)
Parameters
Type Name Description
int hazardType

The type of hazard that caused the damage.

int damage

Amount of Damage

Returns
Type Description
int

Modified Damage

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