tModLoader v2024.03
A mod to make and play Terraria mods
SpawnConditionBestiaryOverlayInfoElement Class Reference

Inherits FilterProviderInfoElement, IBestiaryBackgroundOverlayAndColorProvider, and 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 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 FilterProviderInfoElement
int DisplayTextPriority [get, set]
 
bool HideInPortraitInfo [get, set]
 
- Properties inherited from IBestiaryBackgroundOverlayAndColorProvider
float DisplayPriority [get]
 
- Properties inherited from IBestiaryPrioritizedElement
float OrderPriority [get]
 

Member Function Documentation

◆ GetBackgroundOverlayColor()

Color? SpawnConditionBestiaryOverlayInfoElement.GetBackgroundOverlayColor ( )

◆ GetBackgroundOverlayImage()

Asset< Texture2D > SpawnConditionBestiaryOverlayInfoElement.GetBackgroundOverlayImage ( )

Property Documentation

◆ DisplayPriority

float SpawnConditionBestiaryOverlayInfoElement.DisplayPriority
getset

◆ OrderPriority

float SpawnConditionBestiaryOverlayInfoElement.OrderPriority
getset