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

Public Types

enum  WorldRenameOption { DontRenameOldFormatWorlds , RenameOldFormatWithLoadSave , RenameAllFormatsWithLoadSave }
 

Public Member Functions

void ActionNew ()
 
Microsoft.Xna.Framework.Vector2 ItemSize (int index)
 
void SelectAndHighlight (WorldFileData worldDataOld)
 
void Draw ()
 
void Back ()
 
void SortWorlds ()
 
int CompareNatural (string strA, string strB)
 
int CompareNatural (string strA, string strB, CultureInfo culture, CompareOptions options)
 
 GUIWorldSelectMenu ()
 

Static Public Member Functions

static void LoadContent (ContentManager content)
 

Public Attributes

float ScrollOffset
 
List< WorldFileDataSortedWorldData
 
int SelectedItem
 
string SelectedItemWorld
 
bool SyncingWorlds
 

Static Public Attributes

static Microsoft.Xna.Framework.Graphics.Texture2D _dividerTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _buttonCloudActiveTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _buttonCloudInactiveTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _buttonFavoriteActiveTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _buttonFavoriteInactiveTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _buttonPlayTexture
 
static Microsoft.Xna.Framework.Graphics.Texture2D _buttonDeleteTexture
 

Properties

GUIContollerTransactionButtonList WorldListOptionsController [get, set]
 

Private Member Functions

Rectangle UpdateGlitchAnimation (WorldFileData worldData)
 
Microsoft.Xna.Framework.Graphics.Texture2D GetIcon (WorldFileData worldData)
 
Microsoft.Xna.Framework.Graphics.Texture2D GetSeedIcon (WorldFileData worldData, string seed)
 
void PlayWorldCheck ()
 
bool DrawMenuButton (string label, TransactionButton_Layout buttonLayout, ref float scale, bool disabled)
 
bool DrawMenuButton (ControllerActionButton action, string label, TransactionButton_Layout buttonLayout, ref float scale, bool disabled)
 
void DrawWorldSync ()
 
void OpenNameEdit ()
 
void CloseNameEditAndSaveIf ()
 
void CloseNameEditIf ()
 
void CloseNameEdit ()
 
void DrawWorld (WorldFileData worldData)
 
void WorldDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
void PlayWorld ()
 
int SortEntry (WorldFileData a, WorldFileData b)
 
bool CanWorldBePlayed (WorldFileData world)
 
float WorldScale (int index)
 
void WorldOver (int index)
 

Private Attributes

float TitleScale
 
float BackScale
 
float NewScale
 
float PlayScale
 
float DeleteScale
 
float FavoriteScale
 
float OptionsScale
 
float RenameScale
 
float SeedDisplayScale
 
float ScrollMomentum
 
int ScrollDragging
 
Microsoft.Xna.Framework.Vector2 DragOffset
 
int _worldCount
 
bool SeedVersionToggle
 
int LastSelectedItem
 
DateTime LastSelectTime
 
DateTime LastTouchTime
 
Microsoft.Xna.Framework.Vector2 LastTouchMouse
 
GUIControllerWorldSelect _controllerInput
 
GUIContollerTransactionButtonList _worldListOptionsController
 
Microsoft.Xna.Framework.Graphics.Texture2D everythingAnimatedIcon
 
bool allowItemClicking
 
Rectangle fullClipRegion
 
Rectangle dragClipRegion
 
int worldOver
 

Static Private Attributes

const double DOUBLE_CLICK_TIME = 500.0
 
const double SINGLE_CLICK_TIME = 350.0
 
const float SINGLE_CLICK_DISTANCE = 30f
 

Detailed Description

Definition at line 22 of file GUIWorldSelectMenu.cs.


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