Table of Contents
Specifies the target type and hook type for a method hook.
public class HookTargetAttribute : System.Attribute
Inheritance System.Object System.Attribute HookTargetAttribute
Specifies the target type and hook type for a method hook.
public HookTargetAttribute(System.Type targetType, BTD_Mod_Helper.Api.Hooks.HookTargetAttribute.EHookType hookType);
targetType
System.Type
The ModHook type that this hook targets
hookType
EHookType
The type of hook (Prefix or Postfix)
Gets the hook type indicating when the hook is applied
public BTD_Mod_Helper.Api.Hooks.HookTargetAttribute.EHookType HookType { get; }
Gets the target type that this hook applies to
public System.Type TargetType { get; }