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 | GizmoShowOption { Never , WhenSelected , UnlessPlaying , Always } |
Static Public Member Functions | |
static Touch | GetTouch (int touchIndex) |
static Touch | GetTouchByFingerId (int fingerId) |
static Vector3 | ScreenToWorldPoint (Vector2 point) |
static Vector3 | ViewToWorldPoint (Vector2 point) |
static Vector3 | ScreenToViewPoint (Vector2 point) |
static float | ConvertToWorld (float value, TouchUnitType unitType) |
static Rect | PercentToWorldRect (Rect rect) |
static Rect | PixelToWorldRect (Rect rect) |
static Rect | ConvertToWorld (Rect rect, TouchUnitType unitType) |
static implicit | operator bool (TouchManager instance) |
Public Attributes | |
Camera | touchCamera |
TouchManager.GizmoShowOption | controlsShowGizmos = TouchManager.GizmoShowOption.Always |
bool | enableControlsOnTouch |
int | controlsLayer = 5 |
Protected Member Functions | |
TouchManager () | |
virtual void | Awake () |
virtual void | OnDestroy () |
Properties | |
static Action | OnSetup |
bool | controlsEnabled [get, set] |
static ReadOnlyCollection< Touch > | Touches [get] |
static int | TouchCount [get] |
static Camera | Camera [get] |
static InputDevice | Device [get] |
static Vector3 | ViewSize [get] |
static float | PercentToWorld [get] |
static float | HalfPercentToWorld [get] |
static float | PixelToWorld [get] |
static float | HalfPixelToWorld [get] |
static Vector2 | ScreenSize [get] |
static Vector2 | HalfScreenSize [get] |
static TouchManager.GizmoShowOption | ControlsShowGizmos [get] |
static bool | ControlsEnabled [get, set] |
class< UpdateScreenSizeAtEndOfFrame > | IDisposable [set] |
static TComponent | Instance [get] |
bool | EnforceSingleton [get] |
bool | IsTheSingleton [get] |
bool | IsNotTheSingleton [get] |
Private Member Functions | |
void | OnEnable () |
void | OnDisable () |
void | Setup () |
void | Reset () |
IEnumerator | UpdateScreenSizeAtEndOfFrame () |
void | Update () |
void | CreateDevice () |
void | UpdateDevice (ulong updateTick, float deltaTime) |
void | CommitDevice (ulong updateTick, float deltaTime) |
void | SubmitControlStates (ulong updateTick, float deltaTime) |
void | CommitControlStates (ulong updateTick, float deltaTime) |
void | UpdateScreenSize (Vector2 currentScreenSize) |
void | CreateTouches () |
void | UpdateTouches (ulong updateTick, float deltaTime) |
void | SendTouchBegan (Touch touch) |
void | SendTouchMoved (Touch touch) |
void | SendTouchEnded (Touch touch) |
void | InvokeTouchEvents () |
bool | TouchCameraIsValid () |
Vector3 | ConvertScreenToWorldPoint (Vector2 point) |
Vector3 | ConvertViewToWorldPoint (Vector2 point) |
Vector3 | ConvertScreenToViewPoint (Vector2 point) |
Vector2 | GetCurrentScreenSize () |
Static Private Member Functions | |
static TComponent[] | FindInstances () |
static TComponent | FindFirstInstance () |
Private Attributes | |
bool | _controlsEnabled = true |
InputDevice | device |
Vector3 | viewSize |
Vector2 | screenSize |
Vector2 | halfScreenSize |
float | percentToWorld |
float | halfPercentToWorld |
float | pixelToWorld |
float | halfPixelToWorld |
TouchControl[] | touchControls |
TouchPool | cachedTouches |
List< Touch > | activeTouches |
ReadOnlyCollection< Touch > | readOnlyActiveTouches |
bool | isReady |
readonly Touch[] | mouseTouches |
class< UpdateScreenSizeAtEndOfFrame > | d__28: IEnumerator<object> |
class< UpdateScreenSizeAtEndOfFrame > | IEnumerator |
Static Private Attributes | |
static TComponent | instance |
static bool | hasInstance |
static int | instanceId |
static readonly object | lockObject |
Definition at line 14 of file TouchManager.cs.