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

Classes

class  ControlsButtonSnippet
 

Public Types

enum  MappingType {
  Movement , Aim , Fire , Jump ,
  Interact , OpenInventory , CloseInventory , CycleLeftPage ,
  CycleRightPage , CyclePreviousHotbarItem , CycleNextHotbarItem , SwitchToWorld ,
  CraftItem , PickupItem , EquipItem , Settings ,
  NavigateInventory , Count
}
 

Public Member Functions

TextSnippet Parse (string text, Color baseColor=default(Color), string options=null)
 
 ControlsButtonTagHandler ()
 

Static Public Member Functions

static bool MeasureInline (ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
 
static bool PrintInlineMapping (SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
 
static bool MeasureInlineMapping (ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
 
static bool PrintInline (SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
 

Static Private Member Functions

static int DrawButtonControl (SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ControllerActionButton action, bool mesaureOnly=false)
 
static int DrawAxisControl (SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ControllerActionVector action, bool mesasure=false)
 

Detailed Description

Definition at line 11 of file ControlsButtonTagHandler.cs.


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