Bazaar developer reference

CvDllPreGame::setClimate(ClimateTypes)

Defined in
CvDllPreGame.cpp, line 655
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setClimate

Hooks

static bool BeforeCvDllPreGame_setClimate(CvDllPreGame* self, ClimateTypes c);static void AfterCvDllPreGame_setClimate(CvDllPreGame* self, ClimateTypes c);static void ReplaceCvDllPreGame_setClimate(void (*original)(CvDllPreGame*, ClimateTypes), CvDllPreGame* self, ClimateTypes c);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setClimate::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setClimate);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setClimate::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setClimate);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setClimate::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setClimate);

Code

655void CvDllPreGame::setClimate(ClimateTypes c)656{657	CvPreGame::setClimate(c);658}

Calls