Bazaar developer reference

CvDllPreGame::civilizationShortDescription(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 115
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_civilizationShortDescription

Hooks

static bool BeforeCvDllPreGame_civilizationShortDescription(CvDllPreGame* self, PlayerTypes p, CvString& result);static void AfterCvDllPreGame_civilizationShortDescription(CvDllPreGame* self, PlayerTypes p, CvString& result);static CvString ReplaceCvDllPreGame_civilizationShortDescription(CvString (*original)(CvDllPreGame*, PlayerTypes), CvDllPreGame* self, PlayerTypes p);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationShortDescription::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_civilizationShortDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationShortDescription::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_civilizationShortDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationShortDescription::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_civilizationShortDescription);

Code

115CvString CvDllPreGame::civilizationShortDescription(PlayerTypes p)116{117	return CvPreGame::civilizationShortDescription(p);118}

Calls