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

◆ ModifyTownNPCProfile()

static void Terraria.ModLoader.NPCLoader.ModifyTownNPCProfile ( NPC npc,
ref ITownNPCProfile profile )
inlinestatic

Definition at line 501 of file NPCLoader.cs.

502 {
503 profile = npc.ModNPC?.TownNPCProfile() ?? profile;
505 while (enumerator.MoveNext())
506 {
507 GlobalNPC g = enumerator.Current;
508 profile = g.ModifyTownNPCProfile(npc) ?? profile;
509 }
510 }
static GlobalHookList< GlobalNPC > HookModifyTownNPCProfile
Definition NPCLoader.cs:120

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

Referenced by Terraria.GameContent.TownNPCProfiles.GetProfile().

+ Here is the caller graph for this function: