PrepSDKCall_SetFromConf Function

Finds an address or virtual function index in a GameConfig file and sets it as the calling information for the SDK call.

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

Parameters

Handle gameconf

GameConfig Handle, or INVALID_HANDLE to use sdktools.games.txt.

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 game config Handle.