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
GUIHotbar Class Reference

Public Member Functions

 GUIHotbar ()
 
float ItemScale (int index)
 
void ItemOver (int index)
 
void ItemDraw (ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
 
void UpdateHotbarKeybinds ()
 
void UpdateHotbarNavigation ()
 
Rectangle GetRegion ()
 
void Draw ()
 
void DrawHotbarItem (SpriteBatch spriteBatch, ItemGrid_Layout layout, Item[] inv, int slot, Vector2 position, Color lightColor, float scale)
 
void SetItem (int item)
 
void NextItem ()
 
void PreviousItem ()
 

Public Attributes

bool menuTogglePressed
 
bool hotbarActive
 
GUIControllerHotbarRadial hotbarController
 

Private Member Functions

void UpdateHotbarScroll ()
 
void RefreshInvCursorPosition (int itemOver)
 

Private Attributes

int cursorOver = 1
 
float TimeSinceItemChange
 
string LastItem
 
DateTime NavigationTick
 
float ScrollAmount
 
GUIItemGrid.GetItemScaleHandler itemScale
 
GUIItemGrid.CursorOver itemOver
 
GUIItemGrid.DrawItemHandler itemDraw
 

Detailed Description

Definition at line 9 of file GUIHotbar.cs.


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