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

◆ DrawTownAttackSwing()

static void Terraria.ModLoader.NPCLoader.DrawTownAttackSwing ( NPC npc,
ref Texture2D item,
ref Rectangle itemFrame,
ref int itemSize,
ref float scale,
ref Vector2 offset )
inlinestatic

Definition at line 1642 of file NPCLoader.cs.

1643 {
1644 npc.ModNPC?.DrawTownAttackSwing(ref item, ref itemFrame, ref itemSize, ref scale, ref offset);
1646 while (enumerator.MoveNext())
1647 {
1648 enumerator.Current.DrawTownAttackSwing(npc, ref item, ref itemFrame, ref itemSize, ref scale, ref offset);
1649 }
1650 }
static GlobalHookList< GlobalNPC > HookDrawTownAttackSwing
Definition NPCLoader.cs:260

References Terraria.ModLoader.NPCLoader.HookDrawTownAttackSwing, and Terraria.NPC.ModNPC.

Referenced by Terraria.Main.DrawNPCExtras().

+ Here is the caller graph for this function: