Hooks
static bool BeforeCvDllGameContext_GetUnitInfo(CvDllGameContext* self, UnitTypes eUnit, ICvUnitInfo1*& result);static void AfterCvDllGameContext_GetUnitInfo(CvDllGameContext* self, UnitTypes eUnit, ICvUnitInfo1*& result);static ICvUnitInfo1* ReplaceCvDllGameContext_GetUnitInfo(ICvUnitInfo1* (*original)(CvDllGameContext*, UnitTypes), CvDllGameContext* self, UnitTypes eUnit);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetUnitInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetUnitInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetUnitInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetUnitInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetUnitInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetUnitInfo);