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
InControl.InControlInputModule Class Reference
+ Inheritance diagram for InControl.InControlInputModule:
+ Collaboration diagram for InControl.InControlInputModule:

Public Types

enum  Button { Action1 = 19 , Action2 , Action3 , Action4 }
 

Public Member Functions

override void UpdateModule ()
 
override bool IsModuleSupported ()
 
override bool ShouldActivateModule ()
 
override void ActivateModule ()
 
override void Process ()
 
override bool IsPointerOverGameObject (int pointerId)
 
override string ToString ()
 
virtual void DeactivateModule ()
 
virtual int ConvertUIToolkitPointerId (PointerEventData sourcePointerData)
 
virtual bool IsActive ()
 
bool IsDestroyed ()
 
bool IsInvoking ()
 
bool IsInvoking (string methodName)
 
void CancelInvoke ()
 
void CancelInvoke (string methodName)
 
void Invoke (string methodName, float time)
 
void InvokeRepeating (string methodName, float time, float repeatRate)
 
Coroutine StartCoroutine (string methodName)
 
Coroutine StartCoroutine (string methodName, [DefaultValue("null")] object value)
 
Coroutine StartCoroutine (IEnumerator routine)
 
Coroutine StartCoroutine_Auto (IEnumerator routine)
 
void StopCoroutine (IEnumerator routine)
 
void StopCoroutine (Coroutine routine)
 
void StopCoroutine (string methodName)
 
void StopAllCoroutines ()
 
Component GetComponent (Type type)
 
T GetComponent< T > ()
 
Component GetComponentInChildren (Type t, bool includeInactive)
 
T GetComponentInChildren< T > ()
 
T[] GetComponentsInChildren< T > (bool includeInactive)
 
void GetComponentsInChildren< T > (bool includeInactive, List< T > result)
 
void GetComponentsInChildren< T > (List< T > results)
 
Component GetComponentInParent (Type t, bool includeInactive)
 
T GetComponentInParent< T > ()
 
T[] GetComponentsInParent< T > (bool includeInactive)
 
void GetComponentsInParent< T > (bool includeInactive, List< T > results)
 
T[] GetComponentsInParent< T > ()
 
void GetComponents (Type type, List< Component > results)
 
void GetComponents< T > (List< T > results)
 
T[] GetComponents< T > ()
 
unsafe int GetInstanceID ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
static void Destroy (Object obj, [DefaultValue("0.0F")] float t)
 
static void DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets)
 
static Object[] FindObjectsOfType (Type type, bool includeInactive)
 
static void DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target)
 

Static Public Member Functions

static void print (object message)
 
static implicit operator bool (Object exists)
 
static Object Instantiate (Object original, Vector3 position, Quaternion rotation)
 
static Object Instantiate (Object original)
 
static T Instantiate< T > (T original)
 
static T Instantiate< T > (T original, Vector3 position, Quaternion rotation)
 
static void Destroy (Object obj)
 
static void DestroyImmediate (Object obj)
 
static T[] FindObjectsOfType< T > ()
 
static bool operator== (Object x, Object y)
 
static bool operator!= (Object x, Object y)
 

Public Attributes

InControlInputModule.Button submitButton
 
InControlInputModule.Button cancelButton
 
float analogMoveThreshold
 
float moveRepeatFirstDuration
 
float moveRepeatDelayDuration
 
bool forceModuleActive
 
bool allowMouseInput
 
bool focusOnMouseHover
 
bool allowTouchInput
 

Static Public Attributes

const int kMouseLeftId = -1
 
const int kMouseRightId = -2
 
const int kMouseMiddleId = -3
 
const int kFakeTouchesId = -4
 

Protected Member Functions

 InControlInputModule ()
 
override void ProcessMove (PointerEventData pointerEvent)
 
bool SendUpdateEventToSelectedObject ()
 
void ProcessMouseEvent ()
 
void ProcessMouseEvent (int id)
 
void ProcessMousePress (PointerInputModule.MouseButtonEventData data)
 
void ProcessTouchPress (PointerEventData pointerEvent, bool pressed, bool released)
 
bool GetPointerData (int id, out PointerEventData data, bool create)
 
void RemovePointerData (PointerEventData data)
 
PointerEventData GetTouchPointerEventData (Touch input, out bool pressed, out bool released)
 
void CopyFromTo (PointerEventData from, PointerEventData to)
 
PointerEventData.FramePressState StateForMouseButton (int buttonId)
 
virtual PointerInputModule.MouseState GetMousePointerEventData ()
 
virtual PointerInputModule.MouseState GetMousePointerEventData (int id)
 
PointerEventData GetLastPointerEventData (int id)
 
virtual void ProcessDrag (PointerEventData pointerEvent)
 
void ClearSelection ()
 
void DeselectIfSelectionChanged (GameObject currentOverGo, BaseEventData pointerEvent)
 
override void OnEnable ()
 
override void OnDisable ()
 
void HandlePointerExitAndEnter (PointerEventData currentPointerData, GameObject newEnterTarget)
 
virtual AxisEventData GetAxisEventData (float x, float y, float moveDeadZone)
 
virtual BaseEventData GetBaseEventData ()
 
virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual void OnRectTransformDimensionsChange ()
 
virtual void OnBeforeTransformParentChanged ()
 
virtual void OnTransformParentChanged ()
 
virtual void OnDidApplyAnimationProperties ()
 
virtual void OnCanvasGroupChanged ()
 
virtual void OnCanvasHierarchyChanged ()
 

Static Protected Member Functions

static RaycastResult FindFirstRaycast (List< RaycastResult > candidates)
 
static MoveDirection DetermineMoveDirection (float x, float y)
 
static MoveDirection DetermineMoveDirection (float x, float y, float deadZone)
 
static GameObject FindCommonRoot (GameObject g1, GameObject g2)
 

Protected Attributes

Dictionary< int, PointerEventData > m_PointerData
 
List< RaycastResult > m_RaycastResultCache
 
BaseInput m_InputOverride
 

Package Functions

string GetScriptClassName ()
 
void GetComponentFastPath (Type type, IntPtr oneFurtherThanResultValue)
 
static Object FindObjectFromInstanceID (int instanceID)
 

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

PlayerAction SubmitAction [get, set]
 
PlayerAction CancelAction [get, set]
 
PlayerTwoAxisAction MoveAction [get, set]
 
InputDevice Device [get, set]
 
InputControl SubmitButton [get, set]
 
InputControl CancelButton [get, set]
 
bool VectorIsPressed [get, set]
 
bool VectorIsReleased [get, set]
 
bool VectorHasChanged [get, set]
 
bool VectorWasPressed [get, set]
 
bool SubmitWasPressed [get, set]
 
bool SubmitWasReleased [get, set]
 
bool CancelWasPressed [get, set]
 
bool MouseHasMoved [get, set]
 
bool MouseButtonIsPressed [get, set]
 
bool sendPointerHoverToParent [get, set]
 
BaseInput input [get, set]
 
BaseInput inputOverride [get, set]
 
EventSystem eventSystem [get, set]
 
bool useGUILayout [get, set]
 
bool enabled [get, set]
 
bool isActiveAndEnabled [get, set]
 
Transform transform [get, set]
 
GameObject gameObject [get, set]
 
string name [get, set]
 
HideFlags hideFlags [set]
 

Private Member Functions

bool ProcessTouchEvents ()
 
bool SendButtonEventToSelectedObject ()
 
bool SendVectorEventToSelectedObject ()
 
void Update ()
 
void UpdateInputState ()
 
void SetVectorRepeatTimer ()
 
static bool IsInvoking ([NotNull("NullExceptionObject")] MonoBehaviour self, string methodName)
 
static void CancelInvoke ([NotNull("NullExceptionObject")] MonoBehaviour self, string methodName)
 
static void Internal_CancelInvokeAll ([NotNull("NullExceptionObject")] MonoBehaviour self)
 
static bool Internal_IsInvokingAll ([NotNull("NullExceptionObject")] MonoBehaviour self)
 
static void InvokeDelayed ([NotNull("NullExceptionObject")] MonoBehaviour self, string methodName, float time, float repeatRate)
 
static bool IsObjectMonoBehaviour ([NotNull("NullExceptionObject")] Object obj)
 
Coroutine StartCoroutineManaged (string methodName, object value)
 
Coroutine StartCoroutineManaged2 (IEnumerator enumerator)
 
void StopCoroutineManaged (Coroutine routine)
 
void StopCoroutineFromEnumeratorManaged (IEnumerator routine)
 
void GetComponentsForListInternal (Type searchType, object resultList)
 
IntPtr GetCachedPtr ()
 
static int GetOffsetOfInstanceIDInCPlusPlusObject ()
 
static Object Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data)
 
static string GetName ([NotNull("NullExceptionObject")] Object obj)
 
static void SetName ([NotNull("NullExceptionObject")] Object obj, string name)
 
static Object Internal_InstantiateSingle_Injected (Object data, ref Vector3 pos, ref Quaternion rot)
 

Static Private Member Functions

static bool ShouldStartDrag (Vector2 pressPos, Vector2 currentPos, float threshold, bool useDragThreshold)
 
static bool CompareBaseObjects (Object lhs, Object rhs)
 
static bool IsNativeObjectAlive (Object o)
 
static void CheckNullArgument (object arg, string message)
 
static Object Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot)
 

Private Attributes

InputDevice inputDevice
 
Vector3 thisMousePosition
 
Vector3 lastMousePosition
 
Vector2 thisVectorState
 
Vector2 lastVectorState
 
bool thisSubmitState
 
bool lastSubmitState
 
bool thisCancelState
 
bool lastCancelState
 
bool moveWasRepeated
 
float nextMoveRepeatTime
 
TwoAxisInputControl direction
 
PlayerAction< SubmitActionk__BackingField
 
PlayerAction< CancelActionk__BackingField
 
PlayerTwoAxisAction< MoveActionk__BackingField
 
readonly PointerInputModule.MouseState m_MouseState
 
bool m_SendPointerHoverToParent
 
AxisEventData m_AxisEventData
 
EventSystem m_EventSystem
 
BaseEventData m_BaseEventData
 
BaseInput m_DefaultInput
 
IntPtr m_CachedPtr
 

Static Private Attributes

const string objectIsNullMessage = "The Object you want to instantiate is null."
 
const string cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake."
 

Detailed Description

Definition at line 13 of file InControlInputModule.cs.


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