Bazaar developer reference

CvPreGame::setClimate(ClimateTypes)

Defined in
CvPreGame.cpp, line 2383
Hook name
CivHooks::CvPreGame_setClimate

Hooks

static bool BeforeCvPreGame_setClimate(ClimateTypes c);static void AfterCvPreGame_setClimate(ClimateTypes c);static void ReplaceCvPreGame_setClimate(void (*original)(ClimateTypes), ClimateTypes c);CivRegisterBefore<CivHooks::CvPreGame_setClimate>(host, &BeforeCvPreGame_setClimate);CivRegisterAfter<CivHooks::CvPreGame_setClimate>(host, &AfterCvPreGame_setClimate);CivRegisterReplace<CivHooks::CvPreGame_setClimate>(host, &ReplaceCvPreGame_setClimate);

Code

2383void setClimate(ClimateTypes c)2384{2385	s_climate = c;2386}

Calls

Called by