terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.GameContent.UI.States.UICreativePowersMenu Class Reference
+ Inheritance diagram for Terraria.GameContent.UI.States.UICreativePowersMenu:

Classes

class  MenuTree
 

Public Member Functions

override void OnActivate ()
 
void SacrificeWhatsInResearchMenu ()
 
void StopPlayingResearchAnimations ()
 
override void Draw (SpriteBatch spriteBatch)
 
 UICreativePowersMenu ()
 
void SetSnapPoint (string name, int id, [Optional] Vector2? anchor, [Optional] Vector2? offset)
 
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 Update (GameTime gameTime)
 
Rectangle GetClippingRectangle (SpriteBatch spriteBatch)
 
virtual List< SnapPoint > GetSnapPoints ()
 
virtual void Recalculate ()
 
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 ()
 
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)
 

Public Attributes

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

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

Protected Attributes

readonly List< UIElementElements
 

Properties

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

Private Types

enum  OpenMainSubCategory {
  None , InfiniteItems , ResearchWindow , Time ,
  Weather , EnemyStrengthSlider , PersonalPowers
}
 
enum  WeatherSubcategory { None , WindSlider , RainSlider }
 
enum  TimeSubcategory { None , TimeRate }
 
enum  PersonalSubcategory { None , EnemySpawnRateSlider }
 

Private Member Functions

void InitializePage ()
 
List< UIElementCreateMainPowerStrip ()
 
void itemsWindowButton_OnUpdate (UIElement affectedElement)
 
void researchWindowButton_OnUpdate (UIElement affectedElement)
 
void timeCategoryButton_OnUpdate (UIElement affectedElement)
 
void weatherCategoryButton_OnUpdate (UIElement affectedElement)
 
void personalCategoryButton_OnUpdate (UIElement affectedElement)
 
void UICreativePowersMenu_OnUpdate (UIElement affectedElement)
 
void strip_OnMouseOut (UIMouseEvent evt, UIElement listeningElement)
 
void strip_OnMouseOver (UIMouseEvent evt, UIElement listeningElement)
 
void MainCategoryButtonClick (UIMouseEvent evt, UIElement listeningElement)
 
void ToggleMainCategory (int option)
 
void ToggleWeatherCategory (int option)
 
void ToggleTimeCategory (int option)
 
void TogglePersonalCategory (int option)
 
void ToggleCategory< TEnum > (UICreativePowersMenu.MenuTree< TEnum > tree, int option, TEnum defaultOption)
 
List< UIElementCreateTimePowerStrip ()
 
List< UIElementCreatePersonalPowerStrip ()
 
List< UIElementCreateWeatherPowerStrip ()
 
GroupOptionButton< int > CreateSubcategoryButton< T > (CreativePowerUIElementRequestInfo request, int subcategoryDepth, string subcategoryName, int subcategoryIndex, int currentSelectedInSubcategory, Dictionary< int, GroupOptionButton< int > > subcategoryButtons, Dictionary< int, UIElement > slidersSet)
 
void WeatherCategoryButtonClick (UIMouseEvent evt, UIElement listeningElement)
 
void TimeCategoryButtonClick (UIMouseEvent evt, UIElement listeningElement)
 
void PersonalCategoryButtonClick (UIMouseEvent evt, UIElement listeningElement)
 
void RefreshElementsOrder ()
 
CalculatedStyle GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions)
 

Static Private Member Functions

static void CategoryButton_OnUpdate_DisplayTooltips (UIElement affectedElement, string categoryNameKey)
 

Private Attributes

bool _hovered
 
PowerStripUIElement _mainPowerStrip
 
PowerStripUIElement _timePowersStrip
 
PowerStripUIElement _weatherPowersStrip
 
PowerStripUIElement _personalPowersStrip
 
UICreativeInfiniteItemsDisplay _infiniteItemsWindow
 
UIElement _container
 
UICreativePowersMenu.MenuTree< UICreativePowersMenu.OpenMainSubCategory_mainCategory
 
UICreativePowersMenu.MenuTree< UICreativePowersMenu.WeatherSubcategory_weatherCategory
 
UICreativePowersMenu.MenuTree< UICreativePowersMenu.TimeSubcategory_timeCategory
 
UICreativePowersMenu.MenuTree< UICreativePowersMenu.PersonalSubcategory_personalCategory
 
UIElement< Parentk__BackingField
 
int< UniqueIdk__BackingField
 
bool< IsMouseHoveringk__BackingField
 
bool _isInitialized
 
CalculatedStyle _innerDimensions
 
CalculatedStyle _dimensions
 
CalculatedStyle _outerDimensions
 
SnapPoint _snapPoint
 

Static Private Attributes

const int INITIAL_LEFT_PIXELS = 20
 
const int LEFT_PIXELS_PER_STRIP_DEPTH = 60
 
const string STRIP_MAIN = "strip 0"
 
const string STRIP_DEPTH_1 = "strip 1"
 
const string STRIP_DEPTH_2 = "strip 2"
 
static readonly RasterizerState OverflowHiddenRasterizerState
 
static int _idCounter
 

Detailed Description

Definition at line 11 of file UICreativePowersMenu.cs.


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