CvPreGame::clearDLCAllowed()
- Defined in
- CvPreGame.cpp, line 3340
- Hook name
CivHooks::CvPreGame_clearDLCAllowed
Hooks
static bool BeforeCvPreGame_clearDLCAllowed();static void AfterCvPreGame_clearDLCAllowed();static void ReplaceCvPreGame_clearDLCAllowed(void (*original)());CivRegisterBefore<CivHooks::CvPreGame_clearDLCAllowed>(host, &BeforeCvPreGame_clearDLCAllowed);CivRegisterAfter<CivHooks::CvPreGame_clearDLCAllowed>(host, &AfterCvPreGame_clearDLCAllowed);CivRegisterReplace<CivHooks::CvPreGame_clearDLCAllowed>(host, &ReplaceCvPreGame_clearDLCAllowed);
Code
3339// Clear all DLC from being the allowed list3340void clearDLCAllowed()3341{3342 s_AllowedDLC.clear();3343}
Calls
std::list::clear