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 | 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 |
bool | enableControlsOnTouch |
int | controlsLayer |
Protected Member Functions | |
TouchManager () | |
virtual void | Awake () |
virtual void | OnDestroy () |
Properties | |
static Action | OnSetup [set] |
bool | controlsEnabled [get, set] |
static ReadOnlyCollection< Touch > | Touches [get, set] |
static int | TouchCount [get, set] |
static Camera | Camera [get, set] |
static InputDevice | Device [get, set] |
static Vector3 | ViewSize [get, set] |
static float | PercentToWorld [get, set] |
static float | HalfPercentToWorld [get, set] |
static float | PixelToWorld [get, set] |
static float | HalfPixelToWorld [get, set] |
static Vector2 | ScreenSize [get, set] |
static Vector2 | HalfScreenSize [get, set] |
static TouchManager.GizmoShowOption | ControlsShowGizmos [get, set] |
static bool | ControlsEnabled [get, set] |
class< UpdateScreenSizeAtEndOfFrame > | IDisposable [set] |
static TComponent | Instance [get, set] |
bool | EnforceSingleton [get, set] |
bool | IsTheSingleton [get, set] |
bool | IsNotTheSingleton [get, set] |
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 |
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 15 of file TouchManager.cs.