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

Public Member Functions

void Reset ()
 
void DrawCraftButton ()
 
void DrawExpandButton ()
 
void DrawMaterialsGridTooltip (Vector2 position)
 
void DrawMaterialsGrid ()
 
void UpdateMaterialNavigation ()
 
void ResetFilters ()
 
void LoadPageRegion ()
 
void RefreshGridNav ()
 
void Draw ()
 
float CraftItemScale (int index)
 
void CraftButtonOver (GUITransactionButton.InputState state)
 
void CraftItemOver (int index)
 
void CraftItemDraw (ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
 
float MaterialItemScale (int index)
 
void MaterialItemTooltipOver (int index)
 
void MaterialItemOver (int index)
 
void MaterialItemTooltipDraw (ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
 
void MaterialItemDraw (ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
 
 GUICrafting ()
 

Public Attributes

GUIItemFilter Filter
 
List< int > FilteredItems
 
float craftScrollOffset
 
float hoverCraftDelay
 
GUITransactionButton.InputState lastState
 
bool menuTogglePressed
 
bool materialsGridActive
 
Recipe CraftHover
 

Properties

bool HasFocus [get]
 
int SelectedNumMaterials [get]
 
int CraftHoverNumMaterials [get]
 
bool Collapsed [get]
 

Private Member Functions

void UpdateFilter (bool force=false)
 
void RefocusExistingRecipeIfStillAvailable ()
 

Private Attributes

float CraftButtonScale = (float)16256
 
int Offset
 
int LastId
 
GUIItemFilter.CategoryFilter LastCategory
 
string LastSearch
 
float craftScrollMomentum
 
int craftScrollDragging
 
Vector2 craftDragOffset
 
bool pendingCraft
 
float ExpandButtonScale
 
DateTime NavigationTick
 
GUIControllerCraftingMaterials materialController
 
int multiCraftDelay
 
int multiCraftRecipe
 
bool wasOverItem
 
int cursorOver
 
int HoverRecipe
 
Item blankItem
 
string materialHoverItemName
 
Item materialToolTip
 

Detailed Description

Definition at line 10 of file GUICrafting.cs.


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