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

◆ DrawNPCCheckAlt()

void Terraria.Main.DrawNPCCheckAlt ( NPC n)
inline

Definition at line 22104 of file Main.cs.

22105 {
22106 if (TownNPCProfiles.Instance.GetProfile(n, out var profile))
22107 {
22108 TextureAssets.Npc[n.type] = profile.GetTextureNPCShouldUse(n);
22109 }
22110 }
static Asset< Texture2D >[] Npc

References Terraria.GameContent.TownNPCProfiles.Instance, and Terraria.GameContent.TextureAssets.Npc.

Referenced by Terraria.Main.DrawNPCs().

+ Here is the caller graph for this function: