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
SystemInfo.cs
Go to the documentation of this file.
1using System;
7
8namespace UnityEngine
9{
10 [NativeHeader("Runtime/Misc/SystemInfo.h")]
11 [NativeHeader("Runtime/Camera/RenderLoops/MotionVectorRenderLoop.h")]
12 [NativeHeader("Runtime/Graphics/Mesh/MeshScriptBindings.h")]
13 [NativeHeader("Runtime/Graphics/GraphicsFormatUtility.bindings.h")]
14 [NativeHeader("Runtime/Input/GetInput.h")]
15 [NativeHeader("Runtime/Shaders/GraphicsCapsScriptBindings.h")]
16 [global::Cpp2ILInjected.Token(Token = "0x2000074")]
17 public sealed class SystemInfo
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x1700005C")]
20 public static string operatingSystem
21 {
22 [global::Cpp2ILInjected.Token(Token = "0x60001C9")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1F7562C", Offset = "0x1F7562C", Length = "0x28")]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.Utility", Member = "GetPlatformName", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
27 get
28 {
29 throw null;
30 }
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x1700005D")]
35 {
36 [global::Cpp2ILInjected.Token(Token = "0x60001CA")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1F7567C", Offset = "0x1F7567C", Length = "0x28")]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "KeyPressed", MemberParameters = new object[] { "UnityEngine.Event" }, ReturnType = "UnityEngine.UI.InputField.EditState")]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
41 get
42 {
43 throw null;
44 }
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x1700005E")]
48 public static int systemMemorySize
49 {
50 [global::Cpp2ILInjected.Token(Token = "0x60001CB")]
51 [global::Cpp2ILInjected.Address(RVA = "0x1F756CC", Offset = "0x1F756CC", Length = "0x28")]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "GUILowMemoryPopup", Member = "CheckMemoryAction", MemberParameters = new object[]
53 {
54 "GUILowMemoryPopup.MemoryAction",
55 typeof(Action)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "GUILowMemoryPopup", Member = "get_DeviceMemory", ReturnType = typeof(long))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "GUILowMemorySetttings", Member = "CheckMemorySettings", MemberParameters = new object[] { typeof(Action) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
61 get
62 {
63 throw null;
64 }
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x1700005F")]
68 public static string deviceModel
69 {
70 [global::Cpp2ILInjected.Token(Token = "0x60001CC")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1F7571C", Offset = "0x1F7571C", Length = "0x28")]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DrPlatform", Member = "Setup", ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DrPlatform", Member = "Start", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.Utility", Member = "GetPlatformName", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "Awake", ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
78 get
79 {
80 throw null;
81 }
82 }
83
84 [global::Cpp2ILInjected.Token(Token = "0x60001CD")]
85 [global::Cpp2ILInjected.Address(RVA = "0x1F7576C", Offset = "0x1F7576C", Length = "0x70")]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SystemInfo), Member = "SupportsTextureFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(Type))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "IsDefined", MemberParameters = new object[]
90 {
91 typeof(Type),
92 typeof(object)
93 }, ReturnType = typeof(bool))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
95 private static bool IsValidEnumValue(Enum value)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60001CE")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1F6F74C", Offset = "0x1F6F74C", Length = "0xD4")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "GUIMap", Member = "InitialiseTargets", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "TextureAtlasDB", Member = "get_DefaultTexturesHigh", ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Texture), Member = "ValidateFormat", MemberParameters = new object[] { typeof(TextureFormat) }, ReturnType = typeof(bool))]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SystemInfo), Member = "IsValidEnumValue", MemberParameters = new object[] { typeof(Enum) }, ReturnType = typeof(bool))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
111 {
112 throw null;
113 }
114
115 [FreeFunction("systeminfo::GetOperatingSystem")]
116 [global::Cpp2ILInjected.Token(Token = "0x60001CF")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1F75654", Offset = "0x1F75654", Length = "0x28")]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
120 [MethodImpl(4096)]
121 private static extern string GetOperatingSystem();
122
123 [FreeFunction("systeminfo::GetOperatingSystemFamily")]
124 [global::Cpp2ILInjected.Token(Token = "0x60001D0")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1F756A4", Offset = "0x1F756A4", Length = "0x28")]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
128 [MethodImpl(4096)]
130
131 [FreeFunction("systeminfo::GetPhysicalMemoryMB")]
132 [global::Cpp2ILInjected.Token(Token = "0x60001D1")]
133 [global::Cpp2ILInjected.Address(RVA = "0x1F756F4", Offset = "0x1F756F4", Length = "0x28")]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
135 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
136 [MethodImpl(4096)]
137 private static extern int GetPhysicalMemoryMB();
138
139 [FreeFunction("systeminfo::GetDeviceModel")]
140 [global::Cpp2ILInjected.Token(Token = "0x60001D2")]
141 [global::Cpp2ILInjected.Address(RVA = "0x1F75744", Offset = "0x1F75744", Length = "0x28")]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
144 [MethodImpl(4096)]
145 private static extern string GetDeviceModel();
146
147 [FreeFunction("ScriptingGraphicsCaps::SupportsTextureFormat")]
148 [global::Cpp2ILInjected.Token(Token = "0x60001D3")]
149 [global::Cpp2ILInjected.Address(RVA = "0x1F757DC", Offset = "0x1F757DC", Length = "0x3C")]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
152 [MethodImpl(4096)]
154
155 [FreeFunction("ScriptingGraphicsCaps::IsFormatSupported")]
156 [global::Cpp2ILInjected.Token(Token = "0x60001D4")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1F6F9EC", Offset = "0x1F6F9EC", Length = "0x44")]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraphicsFormatUtility), Member = "GetDepthStencilFormat", MemberParameters = new object[]
159 {
160 typeof(int),
161 typeof(int)
162 }, ReturnType = typeof(GraphicsFormat))]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
165 [MethodImpl(4096)]
167
168 [FreeFunction("ScriptingGraphicsCaps::GetCompatibleFormat", ThrowsException = true)]
169 [global::Cpp2ILInjected.Token(Token = "0x60001D5")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1F73790", Offset = "0x1F73790", Length = "0x44")]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
173 [MethodImpl(4096)]
175
176 [FreeFunction("ScriptingGraphicsCaps::GetGraphicsFormat")]
177 [global::Cpp2ILInjected.Token(Token = "0x60001D6")]
178 [global::Cpp2ILInjected.Address(RVA = "0x1F70948", Offset = "0x1F70948", Length = "0x3C")]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
181 [MethodImpl(4096)]
183 }
184}
class f__AnonymousType0<< Count > j__TPar
static string operatingSystem
Definition SystemInfo.cs:21
static OperatingSystemFamily GetOperatingSystemFamily()
static OperatingSystemFamily operatingSystemFamily
Definition SystemInfo.cs:35
static GraphicsFormat GetCompatibleFormat(GraphicsFormat format, FormatUsage usage)
static bool IsValidEnumValue(Enum value)
Definition SystemInfo.cs:95
static string GetOperatingSystem()
static GraphicsFormat GetGraphicsFormat(DefaultFormat format)
static bool IsFormatSupported(GraphicsFormat format, FormatUsage usage)
static string GetDeviceModel()
static int GetPhysicalMemoryMB()
static int systemMemorySize
Definition SystemInfo.cs:49
static bool SupportsTextureFormat(TextureFormat format)
static bool SupportsTextureFormatNative(TextureFormat format)