Bazaar developer reference

CvDllPreGame::setSeaLevel(SeaLevelTypes)

Defined in
CvDllPreGame.cpp, line 940
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setSeaLevel

Hooks

static bool BeforeCvDllPreGame_setSeaLevel(CvDllPreGame* self, SeaLevelTypes s);static void AfterCvDllPreGame_setSeaLevel(CvDllPreGame* self, SeaLevelTypes s);static void ReplaceCvDllPreGame_setSeaLevel(void (*original)(CvDllPreGame*, SeaLevelTypes), CvDllPreGame* self, SeaLevelTypes s);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSeaLevel::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setSeaLevel);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSeaLevel::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setSeaLevel);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSeaLevel::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setSeaLevel);

Code

940void CvDllPreGame::setSeaLevel(SeaLevelTypes s)941{942	CvPreGame::setSeaLevel(s);943}

Calls