Bazaar developer reference

CvDllPreGame::setLeaderKeyPackageID(PlayerTypes, const GUID &)

Defined in
CvDllPreGame.cpp, line 795
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setLeaderKeyPackageID

Hooks

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

Code

795void CvDllPreGame::setLeaderKeyPackageID(PlayerTypes p, const GUID& n)796{797	CvPreGame::setLeaderKeyPackageID(p, n);798}

Calls