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

Public Types

enum  ButtonTarget {
  None , DPadDown = 12 , DPadLeft , DPadRight ,
  DPadUp = 11 , LeftTrigger = 15 , RightTrigger , LeftBumper ,
  RightBumper , Action1 , Action2 , Action3 ,
  Action4 , Action5 , Action6 , Action7 ,
  Action8 , Action9 , Action10 , Action11 ,
  Action12 , Menu = 106 , Button0 = 500 , Button1 ,
  Button2 , Button3 , Button4 , Button5 ,
  Button6 , Button7 , Button8 , Button9 ,
  Button10 , Button11 , Button12 , Button13 ,
  Button14 , Button15 , Button16 , Button17 ,
  Button18 , Button19
}
 
enum  AnalogTarget { None , LeftStick , RightStick , Both }
 
enum  SnapAngles { None , Four = 4 , Eight = 8 , Sixteen = 16 }
 

Public Member Functions

override void CreateControl ()
 
override void DestroyControl ()
 
override void ConfigureControl ()
 
override void DrawGizmos ()
 
override void SubmitControlState (ulong updateTick, float deltaTime)
 
override void CommitControlState (ulong updateTick, float deltaTime)
 
override void TouchBegan (Touch touch)
 
override void TouchMoved (Touch touch)
 
override void TouchEnded (Touch touch)
 
 TouchSwipeControl ()
 
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)
 
override string ToString ()
 

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

float sensitivity
 
bool oneSwipePerTouch
 
TouchControl.AnalogTarget target
 
TouchControl.SnapAngles snapAngles
 
TouchControl.ButtonTarget upTarget
 
TouchControl.ButtonTarget downTarget
 
TouchControl.ButtonTarget leftTarget
 
TouchControl.ButtonTarget rightTarget
 
TouchControl.ButtonTarget tapTarget
 

Protected Member Functions

Vector3 OffsetToWorldPosition (TouchControlAnchor anchor, Vector2 offset, TouchUnitType offsetUnitType, bool lockAspectRatio)
 
void SubmitButtonState (TouchControl.ButtonTarget target, bool state, ulong updateTick, float deltaTime)
 
void SubmitButtonValue (TouchControl.ButtonTarget target, float value, ulong updateTick, float deltaTime)
 
void CommitButton (TouchControl.ButtonTarget target)
 
void SubmitAnalogValue (TouchControl.AnalogTarget target, Vector2 value, float lowerDeadZone, float upperDeadZone, ulong updateTick, float deltaTime)
 
void CommitAnalog (TouchControl.AnalogTarget target)
 
void SubmitRawAnalogValue (TouchControl.AnalogTarget target, Vector2 rawValue, ulong updateTick, float deltaTime)
 

Static Protected Member Functions

static Vector3 SnapTo (Vector2 vector, TouchControl.SnapAngles snapAngles)
 
static Vector3 SnapTo (Vector2 vector, float snapAngle)
 

Package Functions

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

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

Rect ActiveArea [get, set]
 
TouchUnitType AreaUnitType [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

void Update ()
 
TouchControl.ButtonTarget GetButtonTargetForVector (Vector2 vector)
 
void OnEnable ()
 
void OnDisable ()
 
void Setup ()
 
void OnDrawGizmosSelected ()
 
void OnDrawGizmos ()
 
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 string ToString (Object obj)
 
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 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

TouchUnitType areaUnitType
 
Rect activeArea
 
Rect worldActiveArea
 
Vector3 currentVector
 
bool currentVectorIsSet
 
Vector3 beganPosition
 
Vector3 lastPosition
 
Touch currentTouch
 
bool fireButtonTarget
 
TouchControl.ButtonTarget nextButtonTarget
 
TouchControl.ButtonTarget lastButtonTarget
 
bool dirty
 
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 9 of file TouchSwipeControl.cs.


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