Bazaar developer reference

CvDllGameContext::GetNumSeaLevelInfos()

Defined in
CvDllContext.cpp, line 368
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetNumSeaLevelInfos

Hooks

static bool BeforeCvDllGameContext_GetNumSeaLevelInfos(CvDllGameContext* self, int& result);static void AfterCvDllGameContext_GetNumSeaLevelInfos(CvDllGameContext* self, int& result);static int ReplaceCvDllGameContext_GetNumSeaLevelInfos(int (*original)(CvDllGameContext*), CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumSeaLevelInfos::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetNumSeaLevelInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumSeaLevelInfos::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetNumSeaLevelInfos);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetNumSeaLevelInfos::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetNumSeaLevelInfos);

Code

368int CvDllGameContext::GetNumSeaLevelInfos()369{370	return GC.getNumSeaLevelInfos();371}

Calls