Hooks
static bool BeforeCvDllCombatInfo_GetDamageInflicted(const CvDllCombatInfo* self, BattleUnitTypes unitType, int& result);static void AfterCvDllCombatInfo_GetDamageInflicted(const CvDllCombatInfo* self, BattleUnitTypes unitType, int& result);static int ReplaceCvDllCombatInfo_GetDamageInflicted(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_GetDamageInflicted::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetDamageInflicted);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDamageInflicted::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetDamageInflicted);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDamageInflicted::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetDamageInflicted);