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

Classes

class  MouseStateBackup
 

Public Types

enum  ForcedInputMode { None , Touch , Controller , KeyboardMouse }
 

Public Member Functions

void OnApplicationQuit ()
 
 XNAUnityRunner ()
 
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 float GetMouseScrollDelta (bool ignoreEditor=false)
 
static bool GetMouseButton (int index, bool ignoreEditor=false)
 
static bool GetMouseButtonUp (int index, bool ignoreEditor=false)
 
static bool GetMouseButtonDown (int index, bool ignoreEditor=false)
 
static Microsoft.Xna.Framework.Vector2 AdjustRealScreenForUI (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 AdjustWorldForRealScreen (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 AdjustUIForRealScreen (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 AdjustWorldPositionForUI (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 ScaleUIDirectionForRealScreen (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 ScaleScreenDirectionForWorld (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 ScaleWorldDirectionForScreen (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static Microsoft.Xna.Framework.Vector2 AdjustScreenPositionForWorld (Microsoft.Xna.Framework.Vector2 inputPosition)
 
static void SetupRenderingUI (bool renderingUI)
 
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

XNAWorldCameraSettings WorldCameraSettings
 
XNAUICameraSettings UICameraSettings
 
bool IncrementalBatching
 
bool LogMaterialCreation
 
bool DisableVariableUpdate
 
Microsoft.Xna.Framework.Vector2 IncrementalBatchingOffset
 
bool EnableBatching
 
bool DumpMemory
 
string ReleaseVersion
 
int BuildNumber
 
bool DumpGeometryStats
 
float DefaultUITabletMode
 
global::UnityEngine.Texture2D WaterMask
 
int WorldInputEdgeRange
 
long SimulatedDiskSpace
 
long SimulatedDeviceMemory
 
bool SimulatedCloudRequired
 
bool SimulatedCloudAvailable
 
bool SimulatedCloudConnected
 
float SimulatedCloudSyncTime
 
XNAUnityRunner.ForcedInputMode ForcedInput
 
bool isStarted
 
bool SplitscreenOrientationChanged
 
AnimationCurve FireAxisRemap
 

Static Public Attributes

static XNAUnityRunner _instance
 
static bool _mobileKeyboardLocked
 
static int DelayInputSwitch
 
static bool _mobileControllerLocked
 
static bool _mobileTouchLocked
 
static int _frame
 

Package Functions

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

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

static XNAUnityRunner.ForcedInputMode CurrentInputMode [get, set]
 
static XNAUnityRunner.ForcedInputMode PrimaryInputMode [get, set]
 
static int ScreenWidth [get, set]
 
static int ScreenHeight [get, set]
 
static global::UnityEngine.Vector3 MousePosition [get, set]
 
static global::UnityEngine.Vector3 MousePositionReal [get, set]
 
static bool MobileKeyboardLocked [get, set]
 
static bool KeyboardModeLocked [get, set]
 
static bool MobileControllerLocked [get, set]
 
static bool ControllerModeLocked [get, set]
 
static bool MobileTouchLocked [get, set]
 
static bool TouchInputKeyboardLocked [get, set]
 
static bool TouchModeLocked [get, set]
 
static bool RenderingUI [get, set]
 
static XNAUnityRunner.MouseStateBackup _uiMouseState [get, set]
 
static XNAUnityRunner.MouseStateBackup _worldMouseState [get, set]
 
static int _lastUIFrame [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 Awake ()
 
void Start ()
 
void Application_lowMemory ()
 
void OnDisable ()
 
void OnGUI ()
 
void OnApplicationFocus (bool focus)
 
void OnApplicationPause (bool pause)
 
string GetNextScreenshotFilename ()
 
void Update ()
 
void SetMobileMouseMode (int mode)
 
void ExecuteFrame (float timeDelta)
 
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 XNAUnityRunner ()
 
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

Game _game
 
global::UnityEngine.Vector3 lastMousePosition
 
bool KeyboardOpen
 
bool lastFrameSplitHorizontal
 
int lastSplitPlayerCount
 
bool switchNextFrame
 
int mobileMouseMode
 
IntPtr m_CachedPtr
 

Static Private Attributes

static bool broadcastTest
 
static bool firstUpdate
 
static global::UnityEngine.Vector3 LastMousePosition
 
static bool _renderingUI
 
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 23 of file XNAUnityRunner.cs.


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