Bazaar developer reference

CvDllPreGame::setEra(EraTypes)

Defined in
CvDllPreGame.cpp, line 695
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setEra

Hooks

static bool BeforeCvDllPreGame_setEra(CvDllPreGame* self, EraTypes e);static void AfterCvDllPreGame_setEra(CvDllPreGame* self, EraTypes e);static void ReplaceCvDllPreGame_setEra(void (*original)(CvDllPreGame*, EraTypes), CvDllPreGame* self, EraTypes e);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEra::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setEra);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEra::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setEra);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEra::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setEra);

Code

695void CvDllPreGame::setEra(EraTypes e)696{697	CvPreGame::setEra(e);698}

Calls