Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HighestOfMultipleUICollectionInfoProvider.cs
Go to the documentation of this file.
1using Terraria.UI;
2
4
6{
8
9 private int _mainProviderIndex;
10
16
18 {
20 BestiaryEntryUnlockState unlockState = entryUICollectionInfo.UnlockState;
21 for (int i = 0; i < _providers.Length; i++)
22 {
24 if (unlockState < entryUICollectionInfo2.UnlockState)
25 {
26 unlockState = entryUICollectionInfo2.UnlockState;
27 }
28 }
29 entryUICollectionInfo.UnlockState = unlockState;
30 return entryUICollectionInfo;
31 }
32
34 {
35 return null;
36 }
37}