3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
15namespace DamageAbsorptionItemComponentUtils {
18MCNAPI
bool canEquipmentAbsorbDamage(::Mob
const& mob, ::SharedTypes::Legacy::ActorDamageCause cause);
20MCNAPI
bool tryAbsorbDamageWithEquipment(::Mob& mob, ::ActorDamageSource
const& source,
float damage);
22MCNAPI
bool tryAbsorbDamageWithItemInSlot(
24 ::SimpleContainer
const& armorContainer,
26 ::ActorDamageSource
const& source,
Definition ActorDamageSource.h:18
Definition SimpleContainer.h:16