Bazaar developer reference

CvDllPreGame::setSeaLevel(const CvString &)

Defined in
CvDllPreGame.cpp, line 945
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setSeaLevel_with_const_CvString

Hooks

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

Code

945void CvDllPreGame::setSeaLevel(const CvString& s)946{947	CvPreGame::setSeaLevel(s);948}

Calls