DHookGetParamObjectPtrVarVector Function

Gets an objects vector variable value

void DHookGetParamObjectPtrVarVector(Handle hParams, int num, int offset, ObjectValueType type, float buffer[3])

Parameters

Handle hParams

Handle to params structure

int num

Param number to get.

int offset

Offset within the object to the var to get.

ObjectValueType type

Type of var it is

float[3] buffer

Buffer to store the result vector

Errors

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