Bazaar developer reference

CvDllGameContext::GetNumHandicapInfos()

Defined in
CvDllContext.cpp, line 328
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetNumHandicapInfos

Hooks

static bool BeforeCvDllGameContext_GetNumHandicapInfos(CvDllGameContext* self, int& result);static void AfterCvDllGameContext_GetNumHandicapInfos(CvDllGameContext* self, int& result);static int ReplaceCvDllGameContext_GetNumHandicapInfos(int (*original)(CvDllGameContext*), CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumHandicapInfos::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetNumHandicapInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumHandicapInfos::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetNumHandicapInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumHandicapInfos::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetNumHandicapInfos);

Code

328int CvDllGameContext::GetNumHandicapInfos()329{330	return GC.getNumHandicapInfos();331}

Calls