terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
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] |
Private Member Functions | |
string | GetMappingName () |
InputControlType | GetMappingType () |
void | RemapToAnalogue (int index, float restingValue, float usedValue) |
void | RemapToButton (int index) |
Texture2D | GetTexure ([Out] Rectangle buttonRegion) |
bool | IsOverOptions (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 11 of file GUIControllerHardwareProfileEntry.cs.