Bazaar developer reference

CvDllPreGame::setCivilizationAdjective(PlayerTypes, const CvString &)

Defined in
CvDllPreGame.cpp, line 625
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setCivilizationAdjective

Hooks

static bool BeforeCvDllPreGame_setCivilizationAdjective(CvDllPreGame* self, PlayerTypes p, const CvString& a);static void AfterCvDllPreGame_setCivilizationAdjective(CvDllPreGame* self, PlayerTypes p, const CvString& a);static void ReplaceCvDllPreGame_setCivilizationAdjective(void (*original)(CvDllPreGame*, PlayerTypes, const CvString&), CvDllPreGame* self, PlayerTypes p, const CvString& a);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationAdjective::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setCivilizationAdjective);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationAdjective::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setCivilizationAdjective);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationAdjective::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setCivilizationAdjective);

Code

625void CvDllPreGame::setCivilizationAdjective(PlayerTypes p, const CvString& a)626{627	CvPreGame::setCivilizationAdjective(p, a);628}

Calls