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

◆ GetBestiaryTownPriority()

static int Terraria.ID.ContentSamples.BestiaryHelper.GetBestiaryTownPriority ( NPC npc)
inlinestatic

Definition at line 846 of file ContentSamples.cs.

847 {
848 int num = NPCID.Sets.TownNPCBestiaryPriority.IndexOf(npc.netID);
849 if (num == -1)
850 {
851 num = int.MaxValue;
852 }
853 return num;
854 }

References Terraria.NPC.netID, and Terraria.ID.NPCID.Sets.TownNPCBestiaryPriority.

Referenced by Terraria.ID.ContentSamples.BestiaryHelper.GetSortedBestiaryEntriesList().

+ Here is the caller graph for this function: