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

◆ GetSearchString()

string Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement.GetSearchString ( ref BestiaryUICollectionInfo info)
inline

Implements Terraria.GameContent.Bestiary.IProvideSearchFilterString.

Definition at line 20 of file RareSpawnBestiaryInfoElement.cs.

21 {
22 if (info.UnlockState == BestiaryEntryUnlockState.NotKnownAtAll_0)
23 {
24 return null;
25 }
26 return Language.GetText("BestiaryInfo.IsRare").Value;
27 }
static LocalizedText GetText(string key)
Definition Language.cs:10

References Terraria.Localization.Language.GetText().