TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ Update()

override void Terraria.GameContent.UI.Elements.UIBestiaryEntryIcon.Update ( GameTime gameTime)
inlinevirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 34 of file UIBestiaryEntryIcon.cs.

35 {
36 //IL_0042: Unknown result type (might be due to invalid IL or missing references)
37 //IL_0053: Unknown result type (might be due to invalid IL or missing references)
38 //IL_0058: Unknown result type (might be due to invalid IL or missing references)
41 bool isHovered = base.IsMouseHovering || ForceHover;
43 {
44 iconbox = dimensions.ToRectangle(),
45 IsPortrait = _isPortrait,
46 IsHovered = isHovered
47 });
48 base.Update(gameTime);
49 }
IBestiaryUICollectionInfoProvider UIInfoProvider
CalculatedStyle GetDimensions()
Definition UIElement.cs:460
void Update(BestiaryUICollectionInfo providedInfo, Rectangle hitbox, EntryIconDrawSettings settings)

References Terraria.GameContent.UI.Elements.UIBestiaryEntryIcon._collectionInfo, Terraria.GameContent.UI.Elements.UIBestiaryEntryIcon._entry, Terraria.GameContent.UI.Elements.UIBestiaryEntryIcon.ForceHover, Terraria.UI.UIElement.GetDimensions(), Terraria.GameContent.Bestiary.IBestiaryUICollectionInfoProvider.GetEntryUICollectionInfo(), Terraria.GameContent.Bestiary.BestiaryEntry.Icon, Terraria.GameContent.Bestiary.BestiaryEntry.UIInfoProvider, and Terraria.GameContent.Bestiary.IEntryIcon.Update().

+ Here is the call graph for this function: