Bazaar developer reference

CvDllPreGame::civilizationKeyAvailable(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 130
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_civilizationKeyAvailable

Hooks

static bool BeforeCvDllPreGame_civilizationKeyAvailable(CvDllPreGame* self, PlayerTypes p, bool& result);static void AfterCvDllPreGame_civilizationKeyAvailable(CvDllPreGame* self, PlayerTypes p, bool& result);static bool ReplaceCvDllPreGame_civilizationKeyAvailable(bool (*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_civilizationKeyAvailable::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_civilizationKeyAvailable);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationKeyAvailable::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_civilizationKeyAvailable);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationKeyAvailable::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_civilizationKeyAvailable);

Code

130bool CvDllPreGame::civilizationKeyAvailable(PlayerTypes p)131{132	return CvPreGame::civilizationKeyAvailable(p);133}

Calls