Bazaar developer reference

CvDllPreGame::civilizationKey(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 125
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_civilizationKey

Hooks

static bool BeforeCvDllPreGame_civilizationKey(CvDllPreGame* self, PlayerTypes p, CvString& result);static void AfterCvDllPreGame_civilizationKey(CvDllPreGame* self, PlayerTypes p, CvString& result);static const CvString ReplaceCvDllPreGame_civilizationKey(const 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_civilizationKey::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_civilizationKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationKey::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_civilizationKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationKey::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_civilizationKey);

Code

125const CvString CvDllPreGame::civilizationKey(PlayerTypes p)126{127	return CvPreGame::civilizationKey(p);128}

Calls