Bazaar developer reference

CvDllPreGame::setMaxCityElimination(int)

Defined in
CvDllPreGame.cpp, line 840
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setMaxCityElimination

Hooks

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

Code

840void CvDllPreGame::setMaxCityElimination(int m)841{842	CvPreGame::setMaxCityElimination(m);843}

Calls