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

Inherits IPreferenceProviderElement, and IBestiaryInfoElement.

Public Member Functions

 BestiaryPortraitBackgroundProviderPreferenceInfoElement (IBestiaryBackgroundImagePathAndColorProvider preferredProvider)
 
IBestiaryBackgroundImagePathAndColorProvider GetPreferredProvider ()
 
bool Matches (IBestiaryBackgroundImagePathAndColorProvider provider)
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 
IBestiaryBackgroundImagePathAndColorProvider GetPreferredProvider ()
 
bool Matches (IBestiaryBackgroundImagePathAndColorProvider provider)
 
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 

Member Function Documentation

◆ GetPreferredProvider()

IBestiaryBackgroundImagePathAndColorProvider BestiaryPortraitBackgroundProviderPreferenceInfoElement.GetPreferredProvider ( )

◆ Matches()

bool BestiaryPortraitBackgroundProviderPreferenceInfoElement.Matches ( IBestiaryBackgroundImagePathAndColorProvider  provider)

◆ ProvideUIElement()

UIElement BestiaryPortraitBackgroundProviderPreferenceInfoElement.ProvideUIElement ( BestiaryUICollectionInfo  info)

Implements IBestiaryInfoElement.