DHookSetFromConf Function

Load details for a vhook or detour from a gamedata file.

bool DHookSetFromConf(Handle setup, Handle gameconf, SDKFuncConfSource source, const char[] name)

Parameters

Handle setup

Hook setup handle to set the offset or address on.

Handle gameconf

GameConfig handle

SDKFuncConfSource source

Whether to look in Offsets or Signatures.

const char[] name

Name of the property to find.

Return Value

true on success, false if nothing was found.

Errors

Invalid setup or gamedata handle.