terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.UI.Elements.UIBestiaryEntryInfoPage Class Reference
+ Inheritance diagram for Terraria.GameContent.UI.Elements.UIBestiaryEntryInfoPage:
+ Collaboration diagram for Terraria.GameContent.UI.Elements.UIBestiaryEntryInfoPage:

Public Member Functions

 UIBestiaryEntryInfoPage ()
 
void UpdateScrollbar (int scrollWheelValue)
 
override void Recalculate ()
 
void FillInfoForEntry (BestiaryEntry entry, ExtraBestiaryInfoPageInformation extraInfo)
 
void SetSnapPoint (string name, int id, Vector2? anchor=null, Vector2? offset=null)
 
bool GetSnapPoint (out SnapPoint point)
 
virtual void ExecuteRecursively (UIElement.UIElementAction action)
 
void Append (UIElement element)
 
void Remove ()
 
void RemoveChild (UIElement child)
 
void RemoveAllChildren ()
 
virtual void Draw (SpriteBatch spriteBatch)
 
virtual void Update (GameTime gameTime)
 
Rectangle GetClippingRectangle (SpriteBatch spriteBatch)
 
virtual List< SnapPoint > GetSnapPoints ()
 
UIElement GetElementAt (Vector2 point)
 
virtual bool ContainsPoint (Vector2 point)
 
virtual Rectangle GetViewCullingArea ()
 
void SetPadding (float pixels)
 
virtual void RecalculateChildren ()
 
CalculatedStyle GetInnerDimensions ()
 
CalculatedStyle GetDimensions ()
 
CalculatedStyle GetOuterDimensions ()
 
void CopyStyle (UIElement element)
 
virtual void LeftMouseDown (UIMouseEvent evt)
 
virtual void LeftMouseUp (UIMouseEvent evt)
 
virtual void LeftClick (UIMouseEvent evt)
 
virtual void LeftDoubleClick (UIMouseEvent evt)
 
virtual void RightMouseDown (UIMouseEvent evt)
 
virtual void RightMouseUp (UIMouseEvent evt)
 
virtual void RightClick (UIMouseEvent evt)
 
virtual void RightDoubleClick (UIMouseEvent evt)
 
virtual void MouseOver (UIMouseEvent evt)
 
virtual void MouseOut (UIMouseEvent evt)
 
virtual void ScrollWheel (UIScrollWheelEvent evt)
 
void Activate ()
 
virtual void OnActivate ()
 
void DrawDebugHitbox (BasicDebugDrawer drawer, float colorIntensity=0f)
 
void Deactivate ()
 
virtual void OnDeactivate ()
 
void Initialize ()
 
virtual void OnInitialize ()
 
virtual int CompareTo (object obj)
 
int CompareTo (T other)
 
delegate void MouseEvent (UIMouseEvent evt, UIElement listeningElement)
 
delegate void ScrollWheelEvent (UIScrollWheelEvent evt, UIElement listeningElement)
 
delegate void ElementEvent (UIElement affectedElement)
 
delegate void UIElementAction (UIElement element)
 

Public Attributes

Color BorderColor
 
Color BackgroundColor
 
StyleDimension Top
 
StyleDimension Left
 
StyleDimension Width
 
StyleDimension Height
 
StyleDimension MaxWidth
 
StyleDimension MaxHeight
 
StyleDimension MinWidth
 
StyleDimension MinHeight
 
bool IgnoresMouseInteraction
 
bool OverflowHidden
 
SamplerState OverrideSamplerState
 
float PaddingTop
 
float PaddingLeft
 
float PaddingRight
 
float PaddingBottom
 
float MarginTop
 
float MarginLeft
 
float MarginRight
 
float MarginBottom
 
float HAlign
 
float VAlign
 
bool UseImmediateMode
 

Protected Member Functions

override void DrawSelf (SpriteBatch spriteBatch)
 
virtual void DrawChildren (SpriteBatch spriteBatch)
 

Protected Attributes

readonly List< UIElementElements
 

Properties

UIElement Parent [get, set, private set]
 
int UniqueId [get, set, private set]
 
IEnumerable< UIElementChildren [get, set]
 
UIElement.MouseEvent OnLeftMouseDown [set]
 
UIElement.MouseEvent OnLeftMouseUp [set]
 
UIElement.MouseEvent OnLeftClick [set]
 
UIElement.MouseEvent OnLeftDoubleClick [set]
 
UIElement.MouseEvent OnRightMouseDown [set]
 
UIElement.MouseEvent OnRightMouseUp [set]
 
UIElement.MouseEvent OnRightClick [set]
 
UIElement.MouseEvent OnRightDoubleClick [set]
 
UIElement.MouseEvent OnMouseOver [set]
 
UIElement.MouseEvent OnMouseOut [set]
 
UIElement.ScrollWheelEvent OnScrollWheel [set]
 
UIElement.ElementEvent OnUpdate [set]
 
bool IsMouseHovering [get, set, private set]
 

Private Types

enum  BestiaryInfoCategory {
  Nameplate , Portrait , FlavorText , Stats ,
  ItemsFromCatchingNPC , ItemsFromDrops , Misc
}
 

Private Member Functions

void AppendBorderOverEverything ()
 
void ManualIfnoSortingMethod (List< UIElement > list)
 
void CheckScrollBar ()
 
BestiaryUICollectionInfo GetUICollectionInfo (BestiaryEntry entry, ExtraBestiaryInfoPageInformation extraInfo)
 
void AddInfoToList (BestiaryEntry entry, ExtraBestiaryInfoPageInformation extraInfo)
 
float GetIndividualElementPriority (IBestiaryInfoElement element)
 
UIBestiaryEntryInfoPage.BestiaryInfoCategory GetBestiaryInfoCategory (IBestiaryInfoElement element)
 
void DrawPanel (SpriteBatch spriteBatch, Texture2D texture, Color color)
 
CalculatedStyle GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions)
 

Private Attributes

UIList _list
 
UIScrollbar _scrollbar
 
bool _isScrollbarAttached
 
int _cornerSize
 
int _barSize
 
Asset< Texture2D_borderTexture
 
Asset< Texture2D_backgroundTexture
 
UIElement< Parentk__BackingField
 
int< UniqueIdk__BackingField
 
bool< IsMouseHoveringk__BackingField
 
bool _isInitialized
 
CalculatedStyle _innerDimensions
 
CalculatedStyle _dimensions
 
CalculatedStyle _outerDimensions
 
SnapPoint _snapPoint
 

Static Private Attributes

static readonly RasterizerState OverflowHiddenRasterizerState
 
static int _idCounter
 

Detailed Description

Definition at line 15 of file UIBestiaryEntryInfoPage.cs.


The documentation for this class was generated from the following file: