Terraria.ModLoader.ItemLoader.MeleeEffects C# (CSharp) Method

MeleeEffects() public static method

public static MeleeEffects ( Item item, Player player, Rectangle hitbox ) : void
item Item
player Player
hitbox Rectangle
return void
        public static void MeleeEffects(Item item, Player player, Rectangle hitbox)
        {
            item.modItem?.MeleeEffects(player, hitbox);

            foreach (var hook in HookMeleeEffects)
            {
                hook(item, player, hitbox);
            }
        }