Bazaar developer reference

CvDllPreGame::civilizationDescription(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 95
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_civilizationDescription

Hooks

static bool BeforeCvDllPreGame_civilizationDescription(CvDllPreGame* self, PlayerTypes p, CvString& result);static void AfterCvDllPreGame_civilizationDescription(CvDllPreGame* self, PlayerTypes p, CvString& result);static CvString ReplaceCvDllPreGame_civilizationDescription(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_civilizationDescription::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_civilizationDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationDescription::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_civilizationDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationDescription::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_civilizationDescription);

Code

95CvString CvDllPreGame::civilizationDescription(PlayerTypes p)96{97	return CvPreGame::civilizationDescription(p);98}

Calls