![]() |
tModLoader v2025.03
A mod to make and play Terraria mods
|
Inherits FilterProviderInfoElement, IBestiaryBackgroundOverlayAndColorProvider, and IBestiaryPrioritizedElement.
Public Member Functions | |
SpawnConditionBestiaryOverlayInfoElement (string nameLanguageKey, int filterIconFrame, string overlayImagePath=null, Color? overlayColor=null) | |
Color? | GetBackgroundOverlayColor () |
Asset< Texture2D > | GetBackgroundOverlayImage () |
![]() | |
FilterProviderInfoElement (string nameLanguageKey, int filterIconFrame) | |
string | GetDisplayNameKey () |
UIElement | GetFilterImage () |
string | GetSearchString (ref BestiaryUICollectionInfo info) |
UIElement | ProvideUIElement (BestiaryUICollectionInfo info) |
Use to create the UIElement for this bestiary entry. Called when the bestiary entry is clicked in-game. Use BestiaryUICollectionInfo.UnlockState to dynamically populate the UI according to how fully unlocked this particular bestiary entry is. Return null if no UIElement should be provided, which is usually the case for NPC never encountered. More... | |
string | GetDisplayNameKey () |
UIElement | GetFilterImage () |
string | GetSearchString (ref BestiaryUICollectionInfo info) |
UIElement | ProvideUIElement (BestiaryUICollectionInfo info) |
Use to create the UIElement for this bestiary entry. Called when the bestiary entry is clicked in-game. Use BestiaryUICollectionInfo.UnlockState to dynamically populate the UI according to how fully unlocked this particular bestiary entry is. Return null if no UIElement should be provided, which is usually the case for NPC never encountered. More... | |
Color? | GetBackgroundOverlayColor () |
Asset< Texture2D > | GetBackgroundOverlayImage () |
Properties | |
float | DisplayPriority [get, set] |
float | OrderPriority [get, set] |
Higher priority values are shown before (higher up) other elements in the same Bestiary info category (UI.Elements.UIBestiaryEntryInfoPage.BestiaryInfoCategory). Defaults to 0. Use ICategorizedBestiaryInfoElement.ElementCategory to dictate which category this element belongs to. More... | |
![]() | |
int | DisplayTextPriority [get, set] |
bool | HideInPortraitInfo [get, set] |
![]() | |
float | DisplayPriority [get] |
![]() | |
float | OrderPriority [get] |
Higher priority values are shown before (higher up) other elements in the same Bestiary info category (UI.Elements.UIBestiaryEntryInfoPage.BestiaryInfoCategory). Defaults to 0. Use ICategorizedBestiaryInfoElement.ElementCategory to dictate which category this element belongs to. More... | |
Color? SpawnConditionBestiaryOverlayInfoElement.GetBackgroundOverlayColor | ( | ) |
Implements IBestiaryBackgroundOverlayAndColorProvider.
Asset< Texture2D > SpawnConditionBestiaryOverlayInfoElement.GetBackgroundOverlayImage | ( | ) |
Implements IBestiaryBackgroundOverlayAndColorProvider.
|
getset |
Implements IBestiaryBackgroundOverlayAndColorProvider.
|
getset |
Higher priority values are shown before (higher up) other elements in the same Bestiary info category (UI.Elements.UIBestiaryEntryInfoPage.BestiaryInfoCategory). Defaults to 0. Use ICategorizedBestiaryInfoElement.ElementCategory to dictate which category this element belongs to.
Implements IBestiaryPrioritizedElement.