Bazaar developer reference

CvDllPreGame::era()

Defined in
CvDllPreGame.cpp, line 175
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_era

Hooks

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

Code

175EraTypes CvDllPreGame::era()176{177	return CvPreGame::era();178}

Calls