Bazaar developer reference

CvDllPreGame::setEra(const CvString &)

Defined in
CvDllPreGame.cpp, line 700
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setEra_with_const_CvString

Hooks

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

Code

700void CvDllPreGame::setEra(const CvString& e)701{702	CvPreGame::setEra(e);703}

Calls