Bazaar developer reference

CvDllPreGame::setCivilizationShortDescription(PlayerTypes, const CvString &)

Defined in
CvDllPreGame.cpp, line 640
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setCivilizationShortDescription

Hooks

static bool BeforeCvDllPreGame_setCivilizationShortDescription(CvDllPreGame* self, PlayerTypes p, const CvString& d);static void AfterCvDllPreGame_setCivilizationShortDescription(CvDllPreGame* self, PlayerTypes p, const CvString& d);static void ReplaceCvDllPreGame_setCivilizationShortDescription(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_setCivilizationShortDescription::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setCivilizationShortDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationShortDescription::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setCivilizationShortDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationShortDescription::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setCivilizationShortDescription);

Code

640void CvDllPreGame::setCivilizationShortDescription(PlayerTypes p, const CvString& d)641{642	CvPreGame::setCivilizationShortDescription(p, d);643}

Calls