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
Display.cs
Go to the documentation of this file.
1using System;
8
9namespace UnityEngine
10{
12 [NativeHeader("Runtime/Graphics/DisplayManager.h")]
13 [global::Cpp2ILInjected.Token(Token = "0x2000071")]
14 public class Display
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60001B9")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1F74DE8", Offset = "0x1F74DE8", Length = "0x3C")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
21 internal Display()
22 {
23 throw null;
24 }
25
26 [global::Cpp2ILInjected.Token(Token = "0x60001BA")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1F74E24", Offset = "0x1F74E24", Length = "0x28")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
31 {
32 throw null;
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x17000057")]
36 public int renderingWidth
37 {
38 [global::Cpp2ILInjected.Token(Token = "0x60001BB")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1F74E4C", Offset = "0x1F74E4C", Length = "0x94")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.CanvasScaler", Member = "HandleScaleWithScreenSize", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.MultipleDisplayUtilities", Member = "RelativeMouseAtScaled", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
44 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
45 get
46 {
47 throw null;
48 }
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x17000058")]
52 public int renderingHeight
53 {
54 [global::Cpp2ILInjected.Token(Token = "0x60001BC")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1F74F34", Offset = "0x1F74F34", Length = "0x94")]
56 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateCaret", MemberParameters = new object[]
58 {
59 "UnityEngine.UI.VertexHelper",
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.CanvasScaler", Member = "HandleScaleWithScreenSize", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.MultipleDisplayUtilities", Member = "RelativeMouseAtScaled", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
66 get
67 {
68 throw null;
69 }
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x17000059")]
73 public int systemWidth
74 {
75 [global::Cpp2ILInjected.Token(Token = "0x60001BD")]
76 [global::Cpp2ILInjected.Address(RVA = "0x1F74FC8", Offset = "0x1F74FC8", Length = "0x94")]
77 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.GraphicRaycaster", Member = "Raycast", MemberParameters = new object[] { "UnityEngine.EventSystems.PointerEventData", "System.Collections.Generic.List`1<RaycastResult>" }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.MultipleDisplayUtilities", Member = "RelativeMouseAtScaled", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.SendMouseEvents", Member = "DoSendMouseEvents", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
83 get
84 {
85 throw null;
86 }
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x1700005A")]
90 public int systemHeight
91 {
92 [global::Cpp2ILInjected.Token(Token = "0x60001BE")]
93 [global::Cpp2ILInjected.Address(RVA = "0x1F750B0", Offset = "0x1F750B0", Length = "0x94")]
94 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.GraphicRaycaster", Member = "Raycast", MemberParameters = new object[] { "UnityEngine.EventSystems.PointerEventData", "System.Collections.Generic.List`1<RaycastResult>" }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.MultipleDisplayUtilities", Member = "RelativeMouseAtScaled", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.SendMouseEvents", Member = "DoSendMouseEvents", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
100 get
101 {
102 throw null;
103 }
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x60001BF")]
107 [global::Cpp2ILInjected.Address(RVA = "0x1F75144", Offset = "0x1F75144", Length = "0xD0")]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.MultipleDisplayUtilities", Member = "RelativeMouseAtScaled", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.SendMouseEvents", Member = "DoSendMouseEvents", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x1700005B")]
119 public static Display main
120 {
121 [global::Cpp2ILInjected.Token(Token = "0x60001C0")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1F75270", Offset = "0x1F75270", Length = "0x58")]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.MultipleDisplayUtilities", Member = "RelativeMouseAtScaled", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
126 get
127 {
128 throw null;
129 }
130 }
131
133 [global::Cpp2ILInjected.Token(Token = "0x60001C1")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1F752C8", Offset = "0x1F752C8", Length = "0x118")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
139 private static void RecreateDisplayList(IntPtr[] nativeDisplay)
140 {
141 throw null;
142 }
143
145 [global::Cpp2ILInjected.Token(Token = "0x60001C2")]
146 [global::Cpp2ILInjected.Address(RVA = "0x1F753E0", Offset = "0x1F753E0", Length = "0x8C")]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
149 private static void FireDisplaysUpdated()
150 {
151 throw null;
152 }
153
154 [FreeFunction("UnityDisplayManager_DisplaySystemResolution")]
155 [global::Cpp2ILInjected.Token(Token = "0x60001C3")]
156 [global::Cpp2ILInjected.Address(RVA = "0x1F7505C", Offset = "0x1F7505C", Length = "0x54")]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
159 [MethodImpl(4096)]
160 private static extern void GetSystemExtImpl(IntPtr nativeDisplay, out int w, out int h);
161
162 [FreeFunction("UnityDisplayManager_DisplayRenderingResolution")]
163 [global::Cpp2ILInjected.Token(Token = "0x60001C4")]
164 [global::Cpp2ILInjected.Address(RVA = "0x1F74EE0", Offset = "0x1F74EE0", Length = "0x54")]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
167 [MethodImpl(4096)]
168 private static extern void GetRenderingExtImpl(IntPtr nativeDisplay, out int w, out int h);
169
170 [FreeFunction("UnityDisplayManager_RelativeMouseAt")]
171 [global::Cpp2ILInjected.Token(Token = "0x60001C5")]
172 [global::Cpp2ILInjected.Address(RVA = "0x1F75214", Offset = "0x1F75214", Length = "0x5C")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
175 [MethodImpl(4096)]
176 private static extern int RelativeMouseAtImpl(int x, int y, out int rx, out int ry);
177
178 // Note: this type is marked as 'beforefieldinit'.
179 [global::Cpp2ILInjected.Token(Token = "0x60001C6")]
180 [global::Cpp2ILInjected.Address(RVA = "0x1F7546C", Offset = "0x1F7546C", Length = "0xF0")]
181 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
185 static Display()
186 {
187 throw null;
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x40002DD")]
191 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
193
194 [global::Cpp2ILInjected.Token(Token = "0x40002DE")]
195 public static Display[] displays;
196
197 [global::Cpp2ILInjected.Token(Token = "0x40002DF")]
198 private static Display _mainDisplay;
199
200 [global::Cpp2ILInjected.Token(Token = "0x40002E0")]
202
205 [global::Cpp2ILInjected.Token(Token = "0x40002E1")]
207
208 [global::Cpp2ILInjected.Token(Token = "0x2000072")]
210 }
211}
class f__AnonymousType0<< Count > j__TPar
static Display _mainDisplay
Definition Display.cs:198
static int RelativeMouseAtImpl(int x, int y, out int rx, out int ry)
static void GetSystemExtImpl(IntPtr nativeDisplay, out int w, out int h)
static Display.DisplaysUpdatedDelegate onDisplaysUpdated
Definition Display.cs:206
Display(IntPtr nativeDisplay)
Definition Display.cs:30
static int m_ActiveEditorGameViewTarget
Definition Display.cs:201
static void GetRenderingExtImpl(IntPtr nativeDisplay, out int w, out int h)
static Vector3 RelativeMouseAt(Vector3 inputMouseCoordinates)
Definition Display.cs:113
static void RecreateDisplayList(IntPtr[] nativeDisplay)
Definition Display.cs:139
static Display[] displays
Definition Display.cs:195
delegate void DisplaysUpdatedDelegate()
static void FireDisplaysUpdated()
Definition Display.cs:149