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

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

◆ Matches()

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

◆ ProvideUIElement()

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