tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Bestiary.SpawnConditionBestiaryInfoElement Class Reference

Inherits Terraria.GameContent.Bestiary.FilterProviderInfoElement, Terraria.GameContent.Bestiary.IBestiaryBackgroundImagePathAndColorProvider, and Terraria.GameContent.Bestiary.IBestiaryPrioritizedElement.

Public Member Functions

 SpawnConditionBestiaryInfoElement (string nameLanguageKey, int filterIconFrame, string backgroundImagePath=null, Color? backgroundColor=null)
 
Color? GetBackgroundColor ()
 
Asset< Texture2D > GetBackgroundImage ()
 
- Public Member Functions inherited from Terraria.GameContent.Bestiary.FilterProviderInfoElement
 FilterProviderInfoElement (string nameLanguageKey, int filterIconFrame)
 
string GetDisplayNameKey ()
 
UIElement GetFilterImage ()
 
string GetSearchString (ref BestiaryUICollectionInfo info)
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
string GetDisplayNameKey ()
 
UIElement GetFilterImage ()
 
string GetSearchString (ref BestiaryUICollectionInfo info)
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
Color? GetBackgroundColor ()
 
Asset< Texture2D > GetBackgroundImage ()
 

Properties

float OrderPriority [get, set]
 
- Properties inherited from Terraria.GameContent.Bestiary.FilterProviderInfoElement
int DisplayTextPriority [get, set]
 
bool HideInPortraitInfo [get, set]
 
- Properties inherited from Terraria.GameContent.Bestiary.IBestiaryPrioritizedElement
float OrderPriority [get]
 

Member Function Documentation

◆ GetBackgroundColor()

Color? Terraria.GameContent.Bestiary.SpawnConditionBestiaryInfoElement.GetBackgroundColor ( )

◆ GetBackgroundImage()

Asset< Texture2D > Terraria.GameContent.Bestiary.SpawnConditionBestiaryInfoElement.GetBackgroundImage ( )

Property Documentation

◆ OrderPriority

float Terraria.GameContent.Bestiary.SpawnConditionBestiaryInfoElement.OrderPriority
getset