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

Public Types

enum  ItemSelection {
  Info , Gender , Skin , Eyes ,
  ChangeHair , Hair , Shirt , Undershirt ,
  Pants , Shoes
}
 

Public Member Functions

void Draw ()
 
float StyleScale (int index)
 
void StyleOver (int index)
 
void StyleDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
float HairScale (int index)
 
void HairOver (int index)
 
void HairDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void CreateAndSave ()
 
void Setup ()
 
void RandomisePlayer ()
 
 GUIPlayerCreateMenu ()
 

Static Public Member Functions

static void LoadContent (ContentManager content)
 

Public Attributes

bool editingPlayerName
 
bool editPlayerNameForCreate
 
GUIPlayerCreateMenu.ItemSelection CurrentSelection
 
float hairScrollOffset
 
bool displayOptions
 
float _pulldownShift
 

Static Public Attributes

static Microsoft.Xna.Framework.Graphics.Texture2D _maleTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _femaleTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _eyeTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _hairTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _HairStyleTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _pantsTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _shirtTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _shoesTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _skinTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _undershirtTexture
 

Private Member Functions

void UpdateAnim (Player player, bool animated)
 
void DrawPlayer ()
 
bool IsOverOptions (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
void DrawInfo ()
 
void DrawName ()
 
void DrawDifficulty ()
 
void DrawStylesGrid ()
 
void DrawHairGrid ()
 
void DrawSelectedPlayer (Microsoft.Xna.Framework.Vector2 position, float scale)
 
void DrawSelectedHighlight (Microsoft.Xna.Framework.Vector2 position, float scale)
 
void DrawSelectedHair (Microsoft.Xna.Framework.Vector2 position, float scale)
 
void CreatePlayer ()
 
void EnterName ()
 
void CloseNameEdit ()
 
void CloseOptions ()
 
bool DrawMenuButton (ControllerActionButton action, string label, TransactionButton_Layout buttonLayout, ref float scale, bool disabled)
 
void DrawMainButtons ()
 
void Back ()
 
void DrawCategoryButtons ()
 
void DrawHSLSlider ()
 
void SetupStartingItems ()
 

Private Attributes

float shirtButtonScale
 
float underShirtButtonScale
 
float pantsButtonScale
 
float shoesButtonScale
 
float hairButtonScale
 
float changeHairButtonScale
 
float infoButtonScale
 
float eyesButtonScale
 
float skinButtonScale
 
float genderButtonScale
 
float createButtonScale
 
float randomButtonScale
 
float backButtonScale
 
float maleButtonScale
 
float femaleButtonScale
 
float randomiseButtonScale
 
float hairScrollMomentum
 
int hairScrollDragging
 
Microsoft.Xna.Framework.Vector2 hairDragOffset
 
int hairOver
 
string _playerName
 
string editPlayerName
 
int[] actualStyleOrder
 
GUIPlayerCreateController _controllerInput
 
float NameScale
 
float DifficultyScale
 
float TypeScale
 
float TitleScale
 
string typeDescription
 
GUIInputRegionExclusive _optionsBlocker
 
bool optionOpenClicked
 
int StyleOffset
 
Microsoft.Xna.Framework.Vector2 CharacterStyleOffset
 
int styleOver
 
Microsoft.Xna.Framework.Vector2 CharacterDrawOffset
 
float TimeSinceItemChange
 
GUISlider.DragState hueDragState
 
GUISlider.DragState satDragState
 
GUISlider.DragState lightDragState
 

Detailed Description

Definition at line 22 of file GUIPlayerCreateMenu.cs.


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