Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TownNPCUICollectionInfoProvider.cs
Go to the documentation of this file.
1using Terraria.UI;
2
4
6{
8
9 public TownNPCUICollectionInfoProvider(string persistentId)
10 {
11 _persistentIdentifierToCheck = persistentId;
12 }
13
15 {
17 result.UnlockState = (Main.BestiaryTracker.Chats.GetWasChatWith(_persistentIdentifierToCheck) ? BestiaryEntryUnlockState.CanShowDropsWithDropRates_4 : BestiaryEntryUnlockState.NotKnownAtAll_0);
18 return result;
19 }
20
22 {
23 return null;
24 }
25}
static BestiaryUnlocksTracker BestiaryTracker
Definition Main.cs:1868