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

Classes

class  Action
 
class  ActionGroup
 

Public Types

enum  ActionSource {
  MainMenu , World , InterfaceLeft , InterfaceRight ,
  NPCDialogue , Dresser , HairStylist , Map ,
  Count
}
 

Public Member Functions

void ItemDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void ItemRightDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
string GetControlTag (ControllerActionVector action)
 
string GetControlTag (ControllerActionButton action)
 
int SortActionByDisplayPriority (GUIControlsBanner.Action x, GUIControlsBanner.Action y)
 
void DrawHorizontalControlsBanner ()
 
void DrawLeftControlsBanner ()
 
void DrawRightControlsBanner ()
 
void DrawControlsBanner (GUIControlsBanner.ActionSource source)
 
void DrawMoreOptionsBanner ()
 
void Draw ()
 
void AddAction (GUIControlsBanner.ActionSource source, ControllerActionVector action, string label)
 
void AddAction (GUIControlsBanner.ActionSource source, ControllerActionVector action, string label, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, TransactionButton_Layout styleSource, bool disabled)
 
void AddAction (GUIControlsBanner.ActionSource source, ControllerActionVector action, string label, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Rectangle srcRegion, TransactionButton_Layout styleSource, bool disabled)
 
void AddAction (GUIControlsBanner.ActionSource source, ControllerActionButton action, string label)
 
void AddAction (GUIControlsBanner.ActionSource source, ControllerActionButton action, string label, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, TransactionButton_Layout styleSource, bool disabled)
 
void AddAction (GUIControlsBanner.ActionSource source, ControllerActionButton action, string label, Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, Rectangle srcRegion, TransactionButton_Layout styleSource, bool disabled)
 
 GUIControlsBanner ()
 

Static Public Member Functions

static GUIControllerInputButton.LinkedControlType FromButton (Buttons button)
 
static GUIControllerInputButton.AxisControl FromAxis (Axis axis, float threshold)
 

Public Attributes

bool ShowBanner
 
bool DisplayingSecondLine
 

Private Member Functions

float ItemScale (int index)
 
void ItemOver (int index)
 
Microsoft.Xna.Framework.Vector2 ItemSize (int index)
 
Rectangle ItemRightTextRegion (int index)
 
void LoadControlPosition (TransactionButton_Layout layout, ControlsBanner_Layout.ControlGroupingPosition position, Microsoft.Xna.Framework.Vector2 offset)
 
void DrawControl (TransactionButton_Layout layout, ControlsBanner_Layout.ControlGroupingPosition position, Microsoft.Xna.Framework.Vector2 offset, GUIControlsBanner.Action action, ref float scale)
 
Microsoft.Xna.Framework.Vector2 GetControlPoint (ControlsBanner_Layout.ControlGroupingPosition layoutItem)
 
bool AddAction (GUIControlsBanner.Action action, int maxWidth)
 
bool AddMore (int maxWidth)
 

Private Attributes

Microsoft.Xna.Framework.Vector2 itemSize
 
List< GUIControlsBanner.ActioncurrentActions
 
bool[] MoreLeftStateActions
 
bool[] MoreRightStateActions
 
List< GUIControlsBanner.Action >[] sourceActions
 
List< GUIControlsBanner.ActionAllActions
 
List< GUIControlsBanner.ActionLeftActions
 
List< GUIControlsBanner.ActionRightActions
 
bool MoreLeftActions
 
bool MoreRightActions
 
bool secondLine
 
Rectangle lastDrawRegion
 
Rectangle lastDrawRegion2
 
TransactionButton_Layout ActionStyle
 
TransactionButton_Layout ActionStyleMultiple
 
GUIControlsBanner.Action LTAction
 
GUIControlsBanner.Action LBAction
 
float ScaleLB
 
GUIControlsBanner.Action RBAction
 
GUIControlsBanner.Action RTAction
 
float ScaleRB
 
GUIControlsBanner.ActionGroup LSActions
 
GUIControlsBanner.ActionGroup RSActions
 
GUIControlsBanner.ActionGroup DPadActions
 
GUIControlsBanner.ActionGroup ButtonActions
 
int itemsDrawing
 
float leftMoreScale
 
float rightMoreScale
 

Detailed Description

Definition at line 14 of file GUIControlsBanner.cs.


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