Bazaar developer reference

CvDllPreGame::civilizationKeyPackageID(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 135
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_civilizationKeyPackageID

Hooks

static bool BeforeCvDllPreGame_civilizationKeyPackageID(CvDllPreGame* self, PlayerTypes p, GUID& result);static void AfterCvDllPreGame_civilizationKeyPackageID(CvDllPreGame* self, PlayerTypes p, GUID& result);static const GUID ReplaceCvDllPreGame_civilizationKeyPackageID(const GUID (*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_civilizationKeyPackageID::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_civilizationKeyPackageID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationKeyPackageID::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_civilizationKeyPackageID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilizationKeyPackageID::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_civilizationKeyPackageID);

Code

135const GUID CvDllPreGame:: civilizationKeyPackageID(PlayerTypes p)136{137	return CvPreGame:: civilizationKeyPackageID(p);138}

Calls