Bazaar developer reference

CvDllGameContext::GetNumFeatureInfos()

Defined in
CvDllContext.cpp, line 313
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetNumFeatureInfos

Hooks

static bool BeforeCvDllGameContext_GetNumFeatureInfos(CvDllGameContext* self, int& result);static void AfterCvDllGameContext_GetNumFeatureInfos(CvDllGameContext* self, int& result);static int ReplaceCvDllGameContext_GetNumFeatureInfos(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_GetNumFeatureInfos::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetNumFeatureInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumFeatureInfos::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetNumFeatureInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumFeatureInfos::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetNumFeatureInfos);

Code

313int CvDllGameContext::GetNumFeatureInfos()314{315	return GC.getNumFeatureInfos();316}

Calls