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

◆ GetEntryUICollectionInfo()

BestiaryUICollectionInfo Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider.GetEntryUICollectionInfo ( )
inline

Implements Terraria.GameContent.Bestiary.IBestiaryUICollectionInfoProvider.

Definition at line 18 of file SalamanderShellyDadUICollectionInfoProvider.cs.

19 {
20 BestiaryEntryUnlockState bestiaryEntryUnlockState = CommonEnemyUICollectionInfoProvider.GetUnlockStateByKillCount(Main.BestiaryTracker.Kills.GetKillCount(_persistentIdentifierToCheck), quickUnlock: false, _killCountNeededToFullyUnlock);
22 {
23 bestiaryEntryUnlockState = GetLowestAvailableUnlockStateFromEntriesThatAreInWorld(bestiaryEntryUnlockState);
24 }
25 BestiaryUICollectionInfo result = default(BestiaryUICollectionInfo);
26 result.UnlockState = bestiaryEntryUnlockState;
27 return result;
28 }
BestiaryEntryUnlockState GetLowestAvailableUnlockStateFromEntriesThatAreInWorld(BestiaryEntryUnlockState unlockstatus)

References Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider._killCountNeededToFullyUnlock, Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider._persistentIdentifierToCheck, Terraria.Main.BestiaryTracker, Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider.GetLowestAvailableUnlockStateFromEntriesThatAreInWorld(), Terraria.GameContent.Bestiary.CommonEnemyUICollectionInfoProvider.GetUnlockStateByKillCount(), and Terraria.GameContent.Bestiary.SalamanderShellyDadUICollectionInfoProvider.IsIncludedInCurrentWorld().