tModLoader v2024.08
A mod to make and play Terraria mods
ModBiomeBestiaryInfoElement Class Reference

Inherits ModBestiaryInfoElement, and IBestiaryBackgroundImagePathAndColorProvider.

Public Member Functions

 ModBiomeBestiaryInfoElement (ModLoader.Mod mod, string displayName, string iconPath, string backgroundPath, Color? backgroundColor)
 
Color? GetBackgroundColor ()
 
Asset< Texture2D > GetBackgroundImage ()
 
override UIElement GetFilterImage ()
 
- Public Member Functions inherited from ModBestiaryInfoElement
string GetDisplayNameKey ()
 
virtual 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 ()
 

Member Function Documentation

◆ GetBackgroundColor()

Color? ModBiomeBestiaryInfoElement.GetBackgroundColor ( )

◆ GetBackgroundImage()

Asset< Texture2D > ModBiomeBestiaryInfoElement.GetBackgroundImage ( )

◆ GetFilterImage()

override UIElement ModBiomeBestiaryInfoElement.GetFilterImage ( )
virtual

Reimplemented from ModBestiaryInfoElement.