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

◆ PostDraw()

static void Terraria.ModLoader.NPCLoader.PostDraw ( NPC npc,
SpriteBatch spriteBatch,
Vector2 screenPos,
Color drawColor )
inlinestatic

Definition at line 1195 of file NPCLoader.cs.

1196 {
1197 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
1198 //IL_000e: Unknown result type (might be due to invalid IL or missing references)
1199 //IL_0033: Unknown result type (might be due to invalid IL or missing references)
1200 //IL_0034: Unknown result type (might be due to invalid IL or missing references)
1201 npc.ModNPC?.PostDraw(spriteBatch, screenPos, drawColor);
1202 EntityGlobalsEnumerator<GlobalNPC> enumerator = HookPostDraw.Enumerate(npc).GetEnumerator();
1203 while (enumerator.MoveNext())
1204 {
1205 enumerator.Current.PostDraw(npc, spriteBatch, screenPos, drawColor);
1206 }
1207 }
static GlobalHookList< GlobalNPC > HookPostDraw
Definition NPCLoader.cs:204

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

Referenced by Terraria.Main.DrawNPCDirect().

+ Here is the caller graph for this function: