Hooks
static bool BeforeCvDllCombatInfo_GetFinalDamage(const CvDllCombatInfo* self, BattleUnitTypes unitType, int& result);static void AfterCvDllCombatInfo_GetFinalDamage(const CvDllCombatInfo* self, BattleUnitTypes unitType, int& result);static int ReplaceCvDllCombatInfo_GetFinalDamage(int (*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_GetFinalDamage::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetFinalDamage);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetFinalDamage::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetFinalDamage);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetFinalDamage::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetFinalDamage);