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

◆ GetBestiaryCreditId()

string Terraria.NPC.GetBestiaryCreditId ( )
inline

Definition at line 112464 of file NPC.cs.

112465 {
112467 }
static Dictionary< int, string > NpcBestiaryCreditIdsByNpcNetIds
Associates an NPC type (F:Terraria.NPC.type) with the persistent ID used for the Bestiary.
This class stores instances of various content types in a number of dictionaries. These instances ser...
int netID
Similar to F:Terraria.NPC.type, but accounts for negative T:Terraria.ID.NPCID values.
Definition NPC.cs:1168

References Terraria.ID.ContentSamples.NpcBestiaryCreditIdsByNpcNetIds.

Referenced by Terraria.GameContent.Bestiary.NPCKillsTracker.GetKillCount(), Terraria.GameContent.Bestiary.NPCWasChatWithTracker.GetWasChatWith(), Terraria.GameContent.Bestiary.NPCWasNearPlayerTracker.GetWasNearbyBefore(), Terraria.GameContent.Bestiary.NPCWasChatWithTracker.RegisterChatStartWith(), Terraria.GameContent.Bestiary.NPCKillsTracker.RegisterKill(), and Terraria.GameContent.Bestiary.NPCWasNearPlayerTracker.RegisterWasNearby().

+ Here is the caller graph for this function: