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
GUIPageIcons Class Reference
+ Collaboration diagram for GUIPageIcons:

Public Types

enum  PageControlsType { Vertical , Bottom }
 
enum  PageCollapseMode { CollapsedFullClosed , FullClosed , CollapsedFull , FullOnly }
 
enum  Category {
  Crafting , CraftingGuide , Inventory , Chest ,
  Shop , Housing , Equipment , PVP ,
  Map , Reforge , HairStylist , Dresser ,
  GrandDesignSettings , JourneyModeSettings , Chat , Duplicate ,
  DisplayDoll , HatRack , Research , None ,
  Count
}
 

Public Member Functions

Microsoft.Xna.Framework.Graphics.Texture2D GetCategoryTexture (GUIPageIcons.Category category, bool selected)
 
bool IsPageSelected (GUIPageIcons.Category category)
 
bool DrawRightPageHUD ()
 
bool CanAcceptItems (GUIPageIcons.Category category)
 
void Close (bool hideChat=true)
 
void OpenUI (GUIPageIcons.Category left, GUIPageIcons.Category right)
 
float ExtendedScale (int index)
 
float ItemScale (int index)
 
void OnCategoryClosed (GUIPageIcons.Category category)
 
void OnCategoryOpened (GUIPageIcons.Category category)
 
bool AnyPageSelected ()
 
bool IsLeftPageSelected ()
 
bool IsRightPageSelected ()
 
void LoadDrawColor (TransactionButton_Layout layout, Microsoft.Xna.Framework.Graphics.Color color)
 
void OverloadDrawColor (TransactionButton_Layout layout, GUIPageIcons.Category category, bool over, bool selected, out Microsoft.Xna.Framework.Graphics.Color restoreCol)
 
void DrawInventoryPage ()
 
void DrawInventoryItems ()
 
bool ClickedOutOfRegion (Rectangle popupRegion, bool showDebug=false)
 
void DrawLeftMenuButton ()
 
void Draw ()
 
 GUIPageIcons ()
 

Static Public Member Functions

static void LoadContent (ContentManager content)
 

Public Attributes

GUIPageIcons.PageCollapseMode PageMode
 
GUIPageIcons.PageControlsType PageControls
 
bool UseHorizontalInventory
 
bool UseConsoleStyle
 
bool EnableDoubleClick
 
bool UsePageLeftStyle
 
bool leftMenuOpen
 
bool excludeFocus
 
List< GUIPageIcons.CategoryleftItems
 
List< GUIPageIcons.CategorycraftItems
 
List< GUIPageIcons.CategoryinteractionItems
 
List< GUIPageIcons.CategoryequipmentItems
 
bool rightMenuOpen
 
List< GUIPageIcons.CategoryrightItems
 
bool rightUseDuplication
 
bool rightUseItemFilter
 
GUIControllerItem lastActive
 

Static Public Attributes

static Microsoft.Xna.Framework.Graphics.Texture2D _menuOpen
 

Properties

bool UseHorizontalPages [get, set]
 
bool UsingTouchUI [get, set]
 
bool DisplayTouchOptions [get, set]
 
GUIPageIcons.Category selectedLeft [get, set]
 
GUIPageIcons.Category selectedRight [get, set]
 
bool PagePopupDisplayed [get, set]
 
bool LastActiveLeft [get, set]
 

Private Member Functions

void RefreshLeftItems ()
 
void RefreshRightItems ()
 
void RefreshAvailableItems ()
 
void UpdatePageStates ()
 
void LeftOver (int index)
 
void InventoryDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void LeftDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void RightOver (int index)
 
void RightDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void ActivateLeftController ()
 

Static Private Member Functions

static void LoadItemIcon (ContentManager content, int id)
 
static void LoadNPCIcon (ContentManager content, int id)
 
static GUIPageIcons ()
 

Private Attributes

GUIPageIcons.Category lastHoverLeft
 
GUIPageIcons.Category hoverLeft
 
float TimeSinceLeftHoverChanged
 
float TimeSinceLeftChanged
 
float TimeSinceRightChanged
 
GUIPageIcons.Category lastHoverRight
 
GUIPageIcons.Category hoverRight
 
float TimeSinceRightHoverChanged
 
bool leftMenuTogglePressed
 
DateTime LeftNavigationTick
 
float leftMenuButtonScale
 
GUIPageIcons.Category _selectedLeft
 
float rightMenuButtonScale
 
GUIPageIcons.Category _selectedRight
 
GUIPageIcons.Category _selectedCrafting
 
GUIPageIcons.Category _selectedInteraction
 
GUIPageIcons.Category _selectedEquipment
 
bool rightMenuTogglePressed
 
DateTime RightNavigationTick
 
Microsoft.Xna.Framework.Vector2 pageButtonRegionSize
 

Static Private Attributes

static Microsoft.Xna.Framework.Graphics.Texture2D[] _categories
 
static Microsoft.Xna.Framework.Graphics.Texture2D[] _categoriesSelected
 
static Dictionary< int, Microsoft.Xna.Framework.Graphics.Texture2D_npcIcons
 
static Dictionary< int, Microsoft.Xna.Framework.Graphics.Texture2D_npcSelectedIcons
 
static Dictionary< int, Microsoft.Xna.Framework.Graphics.Texture2D_npcShimmeredIcons
 
static Dictionary< int, Microsoft.Xna.Framework.Graphics.Texture2D_npcShimmeredSelectedIcons
 
static Dictionary< int, Microsoft.Xna.Framework.Graphics.Texture2D_itemIcons
 
static Dictionary< int, Microsoft.Xna.Framework.Graphics.Texture2D_itemSelectedIcons
 
static Microsoft.Xna.Framework.Graphics.Texture2D _menuClosed
 

Detailed Description

Definition at line 18 of file GUIPageIcons.cs.


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