Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RareSpawnBestiaryInfoElement.cs
Go to the documentation of this file.
2using Terraria.UI;
3
5
7{
8 public int RarityLevel { get; private set; }
9
10 public RareSpawnBestiaryInfoElement(int rarityLevel)
11 {
12 RarityLevel = rarityLevel;
13 }
14
16 {
17 return null;
18 }
19
21 {
22 if (info.UnlockState == BestiaryEntryUnlockState.NotKnownAtAll_0)
23 {
24 return null;
25 }
26 return Language.GetText("BestiaryInfo.IsRare").Value;
27 }
28}
static LocalizedText GetText(string key)
Definition Language.cs:10