Bazaar developer reference

CvPreGame::setSeaLevel(SeaLevelTypes)

Defined in
CvPreGame.cpp, line 2928
Hook name
CivHooks::CvPreGame_setSeaLevel

Hooks

static bool BeforeCvPreGame_setSeaLevel(SeaLevelTypes s);static void AfterCvPreGame_setSeaLevel(SeaLevelTypes s);static void ReplaceCvPreGame_setSeaLevel(void (*original)(SeaLevelTypes), SeaLevelTypes s);CivRegisterBefore<CivHooks::CvPreGame_setSeaLevel>(host, &BeforeCvPreGame_setSeaLevel);CivRegisterAfter<CivHooks::CvPreGame_setSeaLevel>(host, &AfterCvPreGame_setSeaLevel);CivRegisterReplace<CivHooks::CvPreGame_setSeaLevel>(host, &ReplaceCvPreGame_setSeaLevel);

Code

2928void setSeaLevel(SeaLevelTypes s)2929{2930	s_seaLevel = s;2931}

Calls

Called by