DHookSetParamObjectPtrVar Function

Sets an objects variable value

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.

int offset

Offset within the object to the var to set.

ObjectValueType type

Type of var it is

any value

The value to set the var to.

Errors

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