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

◆ ModifyNPCNameList()

static List< string > Terraria.ModLoader.NPCLoader.ModifyNPCNameList ( NPC npc,
List< string > nameList )
inlinestatic

Definition at line 1389 of file NPCLoader.cs.

1390 {
1391 if (npc.ModNPC != null)
1392 {
1393 nameList = npc.ModNPC.SetNPCNameList();
1394 }
1396 while (enumerator.MoveNext())
1397 {
1398 enumerator.Current.ModifyNPCNameList(npc, nameList);
1399 }
1400 return nameList;
1401 }
static GlobalHookList< GlobalNPC > HookModifyNPCNameList
Definition NPCLoader.cs:222

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

Referenced by Terraria.NPC.getNewNPCName().

+ Here is the caller graph for this function: