Bazaar developer reference

CvDllPreGame::isDLCAllowed(const GUID &)

Defined in
CvDllPreGame.cpp, line 289
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isDLCAllowed

Hooks

static bool BeforeCvDllPreGame_isDLCAllowed(CvDllPreGame* self, const GUID& kDLCID, bool& result);static void AfterCvDllPreGame_isDLCAllowed(CvDllPreGame* self, const GUID& kDLCID, bool& result);static bool ReplaceCvDllPreGame_isDLCAllowed(bool (*original)(CvDllPreGame*, const GUID&), CvDllPreGame* self, const GUID& kDLCID);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isDLCAllowed::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_isDLCAllowed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isDLCAllowed::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_isDLCAllowed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isDLCAllowed::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_isDLCAllowed);

Code

289bool CvDllPreGame::isDLCAllowed(const GUID& kDLCID)290{291	return CvPreGame::isDLCAllowed(kDLCID);292}

Calls