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

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

Public Member Functions

 SpawnConditionBestiaryOverlayInfoElement (string nameLanguageKey, int filterIconFrame, string overlayImagePath=null, Color? overlayColor=null)
 
Color? GetBackgroundOverlayColor ()
 
Asset< Texture2D > GetBackgroundOverlayImage ()
 
- 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? GetBackgroundOverlayColor ()
 
Asset< Texture2D > GetBackgroundOverlayImage ()
 

Properties

float DisplayPriority [get, set]
 
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.IBestiaryBackgroundOverlayAndColorProvider
float DisplayPriority [get]
 
- Properties inherited from Terraria.GameContent.Bestiary.IBestiaryPrioritizedElement
float OrderPriority [get]
 

Member Function Documentation

◆ GetBackgroundOverlayColor()

Color? Terraria.GameContent.Bestiary.SpawnConditionBestiaryOverlayInfoElement.GetBackgroundOverlayColor ( )

◆ GetBackgroundOverlayImage()

Asset< Texture2D > Terraria.GameContent.Bestiary.SpawnConditionBestiaryOverlayInfoElement.GetBackgroundOverlayImage ( )

Property Documentation

◆ DisplayPriority

float Terraria.GameContent.Bestiary.SpawnConditionBestiaryOverlayInfoElement.DisplayPriority
getset

◆ OrderPriority

float Terraria.GameContent.Bestiary.SpawnConditionBestiaryOverlayInfoElement.OrderPriority
getset