CvPreGame::getDLCAllowedCount()
- Defined in
- CvPreGame.cpp, line 3346
- Hook name
CivHooks::CvPreGame_getDLCAllowedCount
Hooks
static bool BeforeCvPreGame_getDLCAllowedCount(uint& result);static void AfterCvPreGame_getDLCAllowedCount(uint& result);static uint ReplaceCvPreGame_getDLCAllowedCount(uint (*original)());CivRegisterBefore<CivHooks::CvPreGame_getDLCAllowedCount>(host, &BeforeCvPreGame_getDLCAllowedCount);CivRegisterAfter<CivHooks::CvPreGame_getDLCAllowedCount>(host, &AfterCvPreGame_getDLCAllowedCount);CivRegisterReplace<CivHooks::CvPreGame_getDLCAllowedCount>(host, &ReplaceCvPreGame_getDLCAllowedCount);
Code
3345// Return the number of DLCs allowed3346uint getDLCAllowedCount()3347{3348 return s_AllowedDLC.size();3349}
Calls
std::list::size