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

Public Types

enum  MappingType { Default , Advanced , Console , Custom }
 
enum  InteractionOverloadState {
  None , Inventory , NPC , NPCItem ,
  Map
}
 

Public Member Functions

void ClearMappingStates ()
 
void Backup ()
 
void RestoreBackup ()
 
void ClearMapping ()
 
void RegisterOverlay (GUIControllerMappingEntryBase entry, Rectangle region)
 
void Draw ()
 
void LooseFocus ()
 
void Close ()
 
void SetCategory (ControllerMappingsCategories_Layout.Category category)
 
void RefreshConfigurationState ()
 
VirtualControllerInputState.CursorInputMode GetMode (Preferences preferences, string id, VirtualControllerInputState.CursorInputMode defaultValue)
 
void LoadConfiguration (Preferences preferences, bool existingConfiguration)
 
GUIControllerMappingScheme GetDefaultScheme (GUIControllerMappings.MappingType mappingType)
 
void SetMapping (GUIControllerMappings.MappingType mappingType)
 
void UpdateUIInteractionOverloads (GUIControllerMappings.InteractionOverloadState newInteractionOverloadState)
 
void SetupMappings ()
 
void LoadMappingValues ()
 
void SaveConfiguration (Preferences preferences)
 
 GUIControllerMappings ()
 

Public Attributes

bool Enabled
 
GUIControllerMappings.MappingType mapping
 
bool performingBinding
 
ControllerMappingsCategories_Layout.Category Selected
 
float ScrollOffset
 
List< GUIControllerMappingEntryBase_allSettings
 
List< GUIControllerMappingEntryBase_categorySettings
 
GUIControllerMappings.InteractionOverloadState interactionOverloadState
 
GUIControllerMappingOverlay _controllerInput
 
List< ControllerActionAxisWorldAxisTable
 
List< ControllerActionVectorWorldAxisMappings
 
List< ControllerActionButtonWorldButtonMappings
 
List< ControllerActionVectorInventoryAxisMappings
 
List< ControllerActionAxisInventoryAxisTable
 
List< ControllerActionButtonInventoryButtonMappings
 
List< ControllerActionButtonBaseInventoryTable
 
List< ControllerActionButtonInventoryTable
 
List< ControllerActionButtonEquipmentTable
 
List< ControllerActionButtonItemHeldTable
 
List< ControllerActionButtonChestInvTable
 
List< ControllerActionButtonChestTable
 
List< ControllerActionButtonShopTable
 
List< ControllerActionButtonShopInvTable
 
List< ControllerActionButtonCraftingTable
 
List< ControllerActionButtonPVPTable
 
List< ControllerActionButtonHousingTable
 
List< ControllerActionButtonReforgeTable
 
List< ControllerActionButtonChatTable
 
List< ControllerActionAxisAxisTableEmpty
 
ControllerActionAxis MovementAxisX
 
ControllerActionAxis MovementAxisY
 
ControllerActionVector MovementAxis
 
ControllerActionAxis MapAxisX
 
ControllerActionAxis MapAxisY
 
ControllerActionVector MapAxis
 
ControllerActionAxis MovementAxisAltX
 
ControllerActionAxis MovementAxisAltY
 
ControllerActionVector MovementAxisAlt
 
ControllerActionAxis FireAxisX
 
ControllerActionAxis FireAxisY
 
ControllerActionVector FireAxis
 
ControllerActionAxis FireAxisAltX
 
ControllerActionAxis FireAxisAltY
 
ControllerActionVector FireAxisAlt
 
ControllerActionAxis GrappleAxisX
 
ControllerActionAxis GrappleAxisY
 
ControllerActionVector GrappleAxis
 
ControllerActionButton GrappleFire
 
ControllerActionButton Jump
 
ControllerActionButton Fire
 
ControllerActionButton Interact
 
ControllerActionButton TargetLockOn
 
ControllerActionButton InventoryToggle
 
ControllerActionButton AutoSelect
 
ControllerActionButton SmartCursor
 
ControllerActionButton AutoFire
 
ControllerActionButton HotbarNext
 
ControllerActionButton HotbarPrevious
 
ControllerActionButton FireAlt
 
ControllerActionAxis GridSnapAxisX
 
ControllerActionAxis GridSnapAxisY
 
ControllerActionVector GridSnapAxis
 
ControllerActionButton BuffNext
 
ControllerActionButton BuffPrevious
 
ControllerActionButton BuffRemove
 
ControllerActionAxis HotbarAxisX
 
ControllerActionAxis HotbarAxisY
 
ControllerActionVector HotbarAxis
 
ControllerActionButton ZoomIn
 
ControllerActionButton ZoomOut
 
ControllerActionButton MapZoomIn
 
ControllerActionButton MapZoomOut
 
ControllerActionButton MapZoomDefault
 
ControllerActionButton QuickMount
 
ControllerActionButton QuickHeal
 
ControllerActionButton QuickBuff
 
ControllerActionButton QuickMana
 
ControllerActionButton MapToggle
 
ControllerActionButton MiniMapToggle
 
ControllerActionButton ChatToggle
 
ControllerActionButton Hotbar1
 
ControllerActionButton Hotbar2
 
ControllerActionButton Hotbar3
 
ControllerActionButton Hotbar4
 
ControllerActionButton Hotbar5
 
ControllerActionButton Hotbar6
 
ControllerActionButton Hotbar7
 
ControllerActionButton Hotbar8
 
ControllerActionButton Hotbar9
 
ControllerActionButton Hotbar10
 
ControllerActionButton DynamicHotbar1
 
ControllerActionButton DynamicHotbar2
 
ControllerActionButton DynamicHotbar3
 
ControllerActionButton DynamicHotbar4
 
ControllerActionButton Loadout1
 
ControllerActionButton Loadout2
 
ControllerActionButton Loadout3
 
ControllerActionButton LoadoutCycle
 
ControllerActionAxis InventoryNavigationX
 
ControllerActionAxis InventoryNavigationY
 
ControllerActionVector InventoryNavigation
 
ControllerActionAxis InventoryNavigationAltX
 
ControllerActionAxis InventoryNavigationAltY
 
ControllerActionVector InventoryNavigationAlt
 
ControllerActionButton WorldFocusToggle
 
ControllerActionButton LeftPageCycle
 
ControllerActionButton RightPageCycle
 
ControllerActionButton ThrowItem
 
ControllerActionButton TrashItem
 
ControllerActionButton DepositHeldItem
 
ControllerActionButton FavouriteItem
 
ControllerActionButton ResearchItem
 
ControllerActionButton SplitItem
 
ControllerActionButton PickupPlaceItem
 
ControllerActionButton CraftItem
 
ControllerActionButton FilterItems
 
ControllerActionButton ToggleCraftDuplicate
 
ControllerActionButton HousingQuery
 
ControllerActionButton Sort
 
ControllerActionButton BuilderTools
 
ControllerActionButton TakeOne
 
ControllerActionButton InventoryClose
 
ControllerActionButton ReforgeItem
 
ControllerActionButton ShowHideItem
 
ControllerActionButton InfoAccessories
 
ControllerActionButton ChestQuickStack
 
ControllerActionButton ChestLootAll
 
ControllerActionButton ChestDepositAll
 
ControllerActionButton ChestRestock
 
ControllerActionButton ChestRename
 
ControllerActionButton ChestLoot
 
ControllerActionButton ChestDeposit
 
ControllerActionButton ChestSort
 
ControllerActionButton EquipmentEquip
 
ControllerActionButton EquipmentUnequip
 
ControllerActionButton ShopSell
 
ControllerActionButton ShopBuy
 
ControllerActionButton PVPEnableToggle
 
ControllerActionButton PVPSwitchTeam
 
GUIControllerMappingStateTable WorldInteractFallback
 
GUIControllerMappingStateTable WorldInteract
 
GUIControllerMappingStateTable WorldShared
 
GUIControllerMappingStateTable World
 
GUIControllerMappingStateTable BaseInventory
 
GUIControllerMappingStateTable Inventory
 
GUIControllerMappingStateTable Equipment
 
GUIControllerMappingStateTable PVP
 
GUIControllerMappingStateTable Housing
 
GUIControllerMappingStateTable ItemHeld
 
GUIControllerMappingStateTable ChestInv
 
GUIControllerMappingStateTable Chest
 
GUIControllerMappingStateTable ShopInv
 
GUIControllerMappingStateTable Shop
 
GUIControllerMappingStateTable Crafting
 
GUIControllerMappingStateTable Reforge
 
GUIControllerMappingStateTable Chat
 

Private Member Functions

void ClearWorldMappings ()
 
void ClearInventoryMappings ()
 
void GainFocus ()
 
bool IsOverCategories (Microsoft.Xna.Framework.Vector2 cursorPosition)
 
void DrawCategories ()
 
void DrawMainButtons ()
 
void DrawTitle ()
 
void DrawBacking ()
 
void DrawCategoryOptions ()
 
float SettingScale (int index)
 
void SettingOver (int index)
 
void SettingDraw (ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
 
Microsoft.Xna.Framework.Vector2 SettingSize (int index)
 
void SetupUIMappingState (ControllerActionButton buttonMapping)
 
void SetupWorldUIMappingState (ControllerActionButton buttonMapping)
 

Private Attributes

VirtualControllerInputState.CursorInputMode BackupControllerAimAndUse
 
VirtualControllerInputState.CursorInputMode BackupControllerSmartCursor
 
bool BackupSwapBumpersTriggers
 
float BackupNavigationDelay
 
float BackupControllerAimSensitivity
 
GUIControllerMappingEntryBase overlayEntry
 
Rectangle overlayRegion
 
int disableScroll
 
bool hasFocus
 
GUIInputRegionExclusive _categoriesBlocker
 
float TimeSinceItemChange
 
ControllerMappingsCategories_Layout.Category[] TabOrder
 
float GameplayButtonScale
 
float UIButtonScale
 
float SaveAndCloseButtonScale
 
float ResetSettingsButtonScale
 
float titleScale
 
float ScrollMomentum
 
int ScrollDragging
 
Microsoft.Xna.Framework.Vector2 DragOffset
 
ControllerActionButton.RequiredButtonState noModifiers
 
ControllerActionButton.RequiredButtonState noLeftModifiers
 
ControllerActionButton.RequiredButtonState noRightModifiers
 
List< GUIControllerMappingSchemeSchemes
 

Detailed Description

Definition at line 17 of file GUIControllerMappings.cs.


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