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);