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

Inherits IPreferenceProviderElement, and IBestiaryInfoElement.

Public Member Functions

 BestiaryPortraitBackgroundBasedOnWorldEvilProviderPreferenceInfoElement (IBestiaryBackgroundImagePathAndColorProvider preferredProviderCorrupt, IBestiaryBackgroundImagePathAndColorProvider preferredProviderCrimson)
 
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 BestiaryPortraitBackgroundBasedOnWorldEvilProviderPreferenceInfoElement.GetPreferredProvider ( )

◆ Matches()

bool BestiaryPortraitBackgroundBasedOnWorldEvilProviderPreferenceInfoElement.Matches ( IBestiaryBackgroundImagePathAndColorProvider  provider)

◆ ProvideUIElement()

UIElement BestiaryPortraitBackgroundBasedOnWorldEvilProviderPreferenceInfoElement.ProvideUIElement ( BestiaryUICollectionInfo  info)

Implements IBestiaryInfoElement.