TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ConsumableDodge()

static bool Terraria.ModLoader.PlayerLoader.ConsumableDodge ( Player player,
in Player::HurtInfo info )
inlinestatic

Definition at line 985 of file PlayerLoader.cs.

986 {
987 FilteredSpanEnumerator<ModPlayer> enumerator = HookConsumableDodge.Enumerate(player).GetEnumerator();
988 while (enumerator.MoveNext())
989 {
990 if (enumerator.Current.ConsumableDodge(info))
991 {
992 return true;
993 }
994 }
995 return false;
996 }
static HookList< ModPlayer > HookConsumableDodge

References Terraria.ModLoader.PlayerLoader.HookConsumableDodge.

Referenced by Terraria.Player.Hurt().

+ Here is the caller graph for this function: