Bazaar developer reference

CvDllPreGame::isEarthMap()

Defined in
CvDllPreGame.cpp, line 299
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isEarthMap

Hooks

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

Code

299bool CvDllPreGame::isEarthMap()300{301	//This function is no longer used, it only exists for interface compatibility.302	return false;303}