Hooks
static bool BeforeCvDllGameContext_GetTechInfo(CvDllGameContext* self, TechTypes eTech, ICvTechInfo1*& result);static void AfterCvDllGameContext_GetTechInfo(CvDllGameContext* self, TechTypes eTech, ICvTechInfo1*& result);static ICvTechInfo1* ReplaceCvDllGameContext_GetTechInfo(ICvTechInfo1* (*original)(CvDllGameContext*, TechTypes), CvDllGameContext* self, TechTypes eTech);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetTechInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetTechInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetTechInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetTechInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetTechInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetTechInfo);