DHookSetup.SetFromConf Method

Load address or offset for a vtable hook or detour from a gamedata file.

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

Parameters

Handle gameconf

GameData handle.

SDKFuncConfSource source

Whether to look in Offsets, Signatures, or Addresses.

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.