Bazaar developer reference

CvDllGameContext::GetNumVictoryInfos()

Defined in
CvDllContext.cpp, line 393
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetNumVictoryInfos

Hooks

static bool BeforeCvDllGameContext_GetNumVictoryInfos(CvDllGameContext* self, int& result);static void AfterCvDllGameContext_GetNumVictoryInfos(CvDllGameContext* self, int& result);static int ReplaceCvDllGameContext_GetNumVictoryInfos(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_GetNumVictoryInfos::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetNumVictoryInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumVictoryInfos::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetNumVictoryInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumVictoryInfos::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetNumVictoryInfos);

Code

393int CvDllGameContext::GetNumVictoryInfos()394{395	return GC.getNumVictoryInfos();396}

Calls