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

Public Member Functions

 GUIControllerDynamicGridNavigator (GUIPageContentController controller, GUIControllerDynamicGridNavigator.GetGrid grid, GUIControllerDynamicGridNavigator.GetCollectionCount collectionCount, GUIControllerDynamicGridNavigator.GetItemScale itemScale, GUIControllerDynamicGridNavigator.GetScrollOffset getScrollOffset, GUIControllerDynamicGridNavigator.SetScrollOffset setScrollOffset, GUIControllerDynamicGridNavigator.GetCollectionCount menuItemCount, GUIControllerDynamicGridNavigator.GetCollectionCount displayItemCount)
 
void DisableScrollUntilChange ()
 
void NextItem ()
 
void PreviousItem ()
 
bool isSelectedItem (int itemIndex)
 
void Activate (int itemIndex=-1)
 
GUIControllerItem Navigate (Microsoft.Xna.Framework.Vector2 navigationVector)
 
void RefreshScrollOffset ()
 
int GetNavigationOutDirs ()
 
Rectangle GetSelectedItemRegion ()
 
void NavigateInto (int column, int row)
 
delegate DraggableItemGrid_Layout GetGrid ()
 
delegate int GetCollectionCount ()
 
delegate float GetItemScale ()
 
delegate float GetScrollOffset ()
 
delegate void SetScrollOffset (float scrollOffset)
 

Public Attributes

int itemRow
 
int itemColumn
 
bool inMenu
 
int menuRow
 

Protected Member Functions

void UpdateScroll ()
 
void ClampPosition ()
 

Properties

DraggableItemGrid_Layout GridLayout [get, set]
 
int itemCount [get, set]
 
float itemScale [get, set]
 
float GridScrollOffset [get, set]
 
int MenuItemCount [get, set]
 
int DisplayItemCount [get, set]
 
int MaxRow_Horizontal [get, set]
 
int MaxRowColumn_Horizontal [get, set]
 
int MaxRow_Vertical [get, set]
 
int MaxRowColumn_Vertical [get, set]
 
int MenuColumn [get, set]
 
bool LeftSideController [get, set]
 
int MaxScrollOffset_Horizontal [get, set]
 
int MaxDisplayRow_Horizontal [get, set]
 
bool HasMenu [get, set]
 
bool InMenu [get, set]
 

Private Member Functions

void ClampMenu (bool preferUp=true)
 
GUIControllerItem NavigateMenuOutOfGrid ()
 
GUIControllerItem NavigateUpOutOfGrid ()
 
GUIControllerItem NavigateDownOutOfGrid ()
 
GUIControllerItem NavigateInnerOutOfGrid ()
 
GUIControllerItem NavigateHorizontal (Microsoft.Xna.Framework.Vector2 navigationVector)
 
GUIControllerItem NavigateVertical (Microsoft.Xna.Framework.Vector2 navigationVector)
 

Private Attributes

readonly GUIControllerDynamicGridNavigator.GetGrid _grid
 
readonly GUIControllerDynamicGridNavigator.GetCollectionCount _collectionCount
 
readonly GUIControllerDynamicGridNavigator.GetItemScale _itemScale
 
readonly GUIControllerDynamicGridNavigator.GetScrollOffset _getScrollOffset
 
readonly GUIControllerDynamicGridNavigator.SetScrollOffset _setScrollOffset
 
readonly GUIPageContentController _controller
 
readonly GUIControllerDynamicGridNavigator.GetCollectionCount _displayItemCount
 
readonly GUIControllerDynamicGridNavigator.GetCollectionCount _menuItemCount
 
bool scrollDisabledUntilChange
 
int itemCountAtDisableScroll
 
int scrollOffset
 

Detailed Description

Definition at line 10 of file GUIControllerDynamicGridNavigator.cs.


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