Bazaar developer reference

CvDllPreGame::numMinorCivs()

Defined in
CvDllPreGame.cpp, line 470
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_numMinorCivs

Hooks

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

Code

470int CvDllPreGame::numMinorCivs()471{472	return CvPreGame::numMinorCivs();473}

Calls