Bazaar developer reference

CvDllPreGame::setClimate(const CvString &)

Defined in
CvDllPreGame.cpp, line 660
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setClimate_with_const_CvString

Hooks

static bool BeforeCvDllPreGame_setClimate_with_const_CvString(CvDllPreGame* self, const CvString& c);static void AfterCvDllPreGame_setClimate_with_const_CvString(CvDllPreGame* self, const CvString& c);static void ReplaceCvDllPreGame_setClimate_with_const_CvString(void (*original)(CvDllPreGame*, const CvString&), CvDllPreGame* self, const CvString& c);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setClimate_with_const_CvString::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setClimate_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setClimate_with_const_CvString::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setClimate_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setClimate_with_const_CvString::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setClimate_with_const_CvString);

Code

660void CvDllPreGame::setClimate(const CvString& c)661{662	CvPreGame::setClimate(c);663}

Calls