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

◆ GetUnlockStateForCritter()

BestiaryEntryUnlockState Terraria.GameContent.Bestiary.GoldCritterUICollectionInfoProvider.GetUnlockStateForCritter ( string persistentId)
inlineprivate

Definition at line 68 of file GoldCritterUICollectionInfoProvider.cs.

69 {
70 if (!Main.BestiaryTracker.Sights.GetWasNearbyBefore(persistentId))
71 {
72 return BestiaryEntryUnlockState.NotKnownAtAll_0;
73 }
74 return BestiaryEntryUnlockState.CanShowDropsWithDropRates_4;
75 }

References Terraria.Main.BestiaryTracker.

Referenced by Terraria.GameContent.Bestiary.GoldCritterUICollectionInfoProvider.GetEntryUICollectionInfo(), and Terraria.GameContent.Bestiary.GoldCritterUICollectionInfoProvider.TryFindingOneGoldCritterThatIsAlreadyUnlocked().