Hooks
static bool BeforeCvDllGameContext_GetPromotionInfo(CvDllGameContext* self, PromotionTypes ePromotion, ICvPromotionInfo1*& result);static void AfterCvDllGameContext_GetPromotionInfo(CvDllGameContext* self, PromotionTypes ePromotion, ICvPromotionInfo1*& result);static ICvPromotionInfo1* ReplaceCvDllGameContext_GetPromotionInfo(ICvPromotionInfo1* (*original)(CvDllGameContext*, PromotionTypes), CvDllGameContext* self, PromotionTypes ePromotion);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPromotionInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetPromotionInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPromotionInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetPromotionInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPromotionInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetPromotionInfo);