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

Inherits Terraria.GameContent.Bestiary.IPreferenceProviderElement, and Terraria.GameContent.Bestiary.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 Terraria.GameContent.Bestiary.BestiaryPortraitBackgroundProviderPreferenceInfoElement.GetPreferredProvider ( )

◆ Matches()

bool Terraria.GameContent.Bestiary.BestiaryPortraitBackgroundProviderPreferenceInfoElement.Matches ( IBestiaryBackgroundImagePathAndColorProvider  provider)

◆ ProvideUIElement()

UIElement Terraria.GameContent.Bestiary.BestiaryPortraitBackgroundProviderPreferenceInfoElement.ProvideUIElement ( BestiaryUICollectionInfo  info)