Bazaar developer reference

CvDllPreGame::setNumMinorCivs(int)

Defined in
CvDllPreGame.cpp, line 875
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setNumMinorCivs

Hooks

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

Code

875void CvDllPreGame::setNumMinorCivs(int n)876{877	CvPreGame::setNumMinorCivs(n);878}

Calls