Bazaar developer reference

CvDllPreGame::setCivilizationDescription(PlayerTypes, const CvString &)

Defined in
CvDllPreGame.cpp, line 630
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setCivilizationDescription

Hooks

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

Code

630void CvDllPreGame::setCivilizationDescription(PlayerTypes p, const CvString& d)631{632	CvPreGame::setCivilizationDescription(p, d);633}

Calls