terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ControlsButtonTagHandler Class Reference
+ Inheritance 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, [Optional] Color baseColor, [Optional] string options)
 
 ControlsButtonTagHandler ()
 

Static Public Member Functions

static bool MeasureInline (SpriteFont.CharacterSource text, int offset, int endOffset, Vector2 size)
 
static bool PrintInlineMapping (SpriteBatch spriteBatch, Vector2 position, Color color, float scale, SpriteFont.CharacterSource text, int offset, int endOffset, Vector2 size)
 
static bool MeasureInlineMapping (SpriteFont.CharacterSource text, int offset, int endOffset, Vector2 size)
 
static bool PrintInline (SpriteBatch spriteBatch, Vector2 position, Color color, float scale, SpriteFont.CharacterSource text, int offset, int endOffset, 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 10 of file ControlsButtonTagHandler.cs.


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