|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Returns the P:Terraria.NPC.FullName of the first active NPC of the given type in the world. If not found, the type name is returned instead.
| npcID |
Definition at line 1845 of file NPC.cs.
References Terraria.Lang.GetNPCNameValue(), and Terraria.Main.npc.
Referenced by Terraria.GameContent.ShopHelper.ApplyNpcRelationshipEffect(), Terraria.GameContent.ShopHelper.LikePrincess(), and Terraria.GameContent.ShopHelper.LoveNPCByTypeName().
Here is the call graph for this function:
Here is the caller graph for this function: