DHookSetParamObjectPtrVar

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

Sets an objects variable value

native void DHookSetParamObjectPtrVar(Handle hParams, int num, int offset, ObjectValueType type, any value)

Parameters

Handle hParams
Handle to params structure
int num
Param number to set, 0 for param "this".
int offset
Offset within the object to the var to set.
Type of var it is
any value
The value to set the var to.

Return Value

void

Error

Invalid handle. Invalid param number. Invalid param type. Invalid Object type.