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

◆ IsIncludedInCurrentWorld()

bool Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider.IsIncludedInCurrentWorld ( )
inlineprivate

Definition at line 50 of file SalamanderShellyDadUICollectionInfoProvider.cs.

51 {
53 int[,] cavernMonsterType = NPC.cavernMonsterType;
54 for (int i = 0; i < cavernMonsterType.GetLength(0); i++)
55 {
56 for (int j = 0; j < cavernMonsterType.GetLength(1); j++)
57 {
59 {
60 return true;
61 }
62 }
63 }
64 return false;
65 }
static Dictionary< int, string > NpcBestiaryCreditIdsByNpcNetIds
static Dictionary< string, int > NpcNetIdsByPersistentIds

References Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider._persistentIdentifierToCheck, Terraria.NPC.cavernMonsterType, Terraria.ID.ContentSamples.NpcBestiaryCreditIdsByNpcNetIds, and Terraria.ID.ContentSamples.NpcNetIdsByPersistentIds.

Referenced by Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider.GetEntryUICollectionInfo().