Bazaar developer reference

CvDllPreGame::setCivilizationKeyPackageID(PlayerTypes, const GUID &)

Defined in
CvDllPreGame.cpp, line 650
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setCivilizationKeyPackageID

Hooks

static bool BeforeCvDllPreGame_setCivilizationKeyPackageID(CvDllPreGame* self, PlayerTypes p, const GUID& kKey);static void AfterCvDllPreGame_setCivilizationKeyPackageID(CvDllPreGame* self, PlayerTypes p, const GUID& kKey);static void ReplaceCvDllPreGame_setCivilizationKeyPackageID(void (*original)(CvDllPreGame*, PlayerTypes, const GUID&), CvDllPreGame* self, PlayerTypes p, const GUID& kKey);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationKeyPackageID::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setCivilizationKeyPackageID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationKeyPackageID::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setCivilizationKeyPackageID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationKeyPackageID::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setCivilizationKeyPackageID);

Code

650void CvDllPreGame::setCivilizationKeyPackageID(PlayerTypes p, const GUID& kKey)651{652	CvPreGame::setCivilizationKeyPackageID(p, kKey);653}

Calls