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
|
Public Types | |
enum | BindingId { LeftStickUp , LeftStickDown , LeftStickLeft , LeftStickRight , RightStickUp , RightStickDown , RightStickLeft , RightStickRight , DPadUp , DPadDown , DPadLeft , DPadRight , Action1 , Action2 , Action3 , Action4 , Options , Switch , LeftShoulder , LeftTrigger , LeftStickClick , RightShoulder , RightTrigger , RightStickClick , Count } |
Public Member Functions | |
GUIControllerHardwareProfileEntry (GUIControllerHardwareProfileEntry.BindingId id, ControllerDevice device) | |
void | CloseOptions () |
override void | DrawOverlay () |
void | RemoveBinding () |
override void | Draw () |
override float | GetElementHeight () |
Properties | |
bool | HasMapping [get, set] |
Private Member Functions | |
string | GetMappingName () |
InputControlType | GetMappingType () |
void | RemapToAnalogue (int index, float restingValue, float usedValue) |
void | RemapToButton (int index) |
Microsoft.Xna.Framework.Graphics.Texture2D | GetTexure (out Rectangle buttonRegion) |
bool | IsOverOptions (Microsoft.Xna.Framework.Vector2 cursorPosition) |
Static Private Member Functions | |
static | GUIControllerHardwareProfileEntry () |
Private Attributes | |
readonly ControllerDevice | _device |
float | buttonScale |
float | scale |
bool | drawingOverlay |
GUIInputRegionExclusive | _optionsBlocker |
Static Private Attributes | |
static int | LastButtonMapped |
const float | inputTollerance = 0.1f |
static float[] | InitialInputRange |
Definition at line 15 of file GUIControllerHardwareProfileEntry.cs.