Terraria.ModLoader.NPCLoader.TownNPCAttackSwing C# (CSharp) Метод

TownNPCAttackSwing() публичный статический Метод

public static TownNPCAttackSwing ( NPC npc, int &itemWidth, int &itemHeight ) : void
npc NPC
itemWidth int
itemHeight int
Результат void
        public static void TownNPCAttackSwing(NPC npc, ref int itemWidth, ref int itemHeight)
        {
            npc.modNPC?.TownNPCAttackSwing(ref itemWidth, ref itemHeight);

            foreach (var hook in HookTownNPCAttackSwing)
            {
                hook(npc, ref itemWidth, ref itemHeight);
            }
        }