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

◆ GetBestiaryInfoCategory()

BestiaryInfoCategory Terraria.GameContent.UI.Elements.UIBestiaryEntryInfoPage.GetBestiaryInfoCategory ( IBestiaryInfoElement element)
inlineprivate

Definition at line 174 of file UIBestiaryEntryInfoPage.cs.

175 {
176 if (element is NPCPortraitInfoElement)
177 {
178 return BestiaryInfoCategory.Portrait;
179 }
181 {
182 return BestiaryInfoCategory.FlavorText;
183 }
184 if (element is NamePlateInfoElement)
185 {
186 return BestiaryInfoCategory.Nameplate;
187 }
189 {
190 return BestiaryInfoCategory.ItemsFromCatchingNPC;
191 }
193 {
194 return BestiaryInfoCategory.ItemsFromDrops;
195 }
197 {
198 return BestiaryInfoCategory.Stats;
199 }
200 return BestiaryInfoCategory.Misc;
201 }

Referenced by Terraria.GameContent.UI.Elements.UIBestiaryEntryInfoPage.AddInfoToList().