Hooks
static bool BeforeCvDllCombatInfo_GetUnit(const CvDllCombatInfo* self, BattleUnitTypes unitType, ICvUnit1*& result);static void AfterCvDllCombatInfo_GetUnit(const CvDllCombatInfo* self, BattleUnitTypes unitType, ICvUnit1*& result);static ICvUnit1* ReplaceCvDllCombatInfo_GetUnit(ICvUnit1* (*original)(const CvDllCombatInfo*, BattleUnitTypes), const CvDllCombatInfo* self, BattleUnitTypes unitType);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetUnit);