Bazaar developer reference

CvDllPreGame::setDLCAllowed(const GUID &, bool)

Defined in
CvDllPreGame.cpp, line 670
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setDLCAllowed

Hooks

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

Code

670void CvDllPreGame::setDLCAllowed(const GUID& kDLCID, bool bState)671{672	CvPreGame::setDLCAllowed(kDLCID, bState);673}

Calls