DHookParam < Handle

Last Updated2025-11-06
Created At2021-11-17

Represents the parameters of the hooked function.

Methods13
SymbolDescription
GetGet the value of a parameter. Use only for: int, entity, edict, bool or float parameter types.
GetAddressGet param address (Use only for ptr param types)
GetObjectVarGets an object's variable value.
GetObjectVarStringGets an object's string variable value.
GetObjectVarVectorGets an object's vector variable value.
GetStringGet the value of a string parameter. Use only for: string, stringptr or charptr parameter types.
GetVectorGet the value of a vector parameter. Use only for: vector or vectorptr parameter types.
IsNullChecks if a pointer parameter is null.
SetSet the value of a parameter. Use only for: int, entity, edict, bool or float parameter types. An entity parameter type can be set to NULL using INVALID_ENT_REFERENCE (-1). The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.
SetObjectVarSets an object's variable value. The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.
SetObjectVarVectorSets an object's vector variable value. The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.
SetStringSet the value of a string parameter. Use only for: string, stringptr or charptr parameter types. The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.
SetVectorSet the value of a vector parameter. Use only for: vector or vectorptr parameter types. The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.