Bazaar developer reference

CvDllPreGame::GetDLCAllowed()

Defined in
CvDllPreGame.cpp, line 1093
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_GetDLCAllowed

Hooks

static bool BeforeCvDllPreGame_GetDLCAllowed(CvDllPreGame* self, ICvEnumerator*& result);static void AfterCvDllPreGame_GetDLCAllowed(CvDllPreGame* self, ICvEnumerator*& result);static ICvEnumerator* ReplaceCvDllPreGame_GetDLCAllowed(ICvEnumerator* (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetDLCAllowed::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_GetDLCAllowed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetDLCAllowed::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_GetDLCAllowed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetDLCAllowed::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_GetDLCAllowed);

Code

1093ICvEnumerator* CvDllPreGame::GetDLCAllowed()1094{1095	return new CvDllDlcPackageInfoList(CvPreGame::getDLCAllowed());1096}

Calls