Bazaar developer reference

CvDllPreGame::climate()

Defined in
CvDllPreGame.cpp, line 145
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_climate

Hooks

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

Code

145ClimateTypes CvDllPreGame::climate()146{147	return CvPreGame::climate();148}

Calls