terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SystemInfo.cs
Go to the documentation of this file.
1using System;
4
5namespace UnityEngine
6{
7 // Token: 0x02000074 RID: 116
8 [NativeHeader("Runtime/Misc/SystemInfo.h")]
9 [NativeHeader("Runtime/Camera/RenderLoops/MotionVectorRenderLoop.h")]
10 [NativeHeader("Runtime/Graphics/Mesh/MeshScriptBindings.h")]
11 [NativeHeader("Runtime/Graphics/GraphicsFormatUtility.bindings.h")]
12 [NativeHeader("Runtime/Input/GetInput.h")]
13 [NativeHeader("Runtime/Shaders/GraphicsCapsScriptBindings.h")]
14 public sealed class SystemInfo
15 {
16 // Token: 0x1700005C RID: 92
17 // (get) Token: 0x060001C9 RID: 457 RVA: 0x00004978 File Offset: 0x00002B78
18 public static string operatingSystem
19 {
20 get
21 {
22 throw new MissingMethodException();
23 }
24 }
25
26 // Token: 0x1700005D RID: 93
27 // (get) Token: 0x060001CA RID: 458 RVA: 0x0000498C File Offset: 0x00002B8C
29 {
30 get
31 {
32 throw new MissingMethodException();
33 }
34 }
35
36 // Token: 0x1700005E RID: 94
37 // (get) Token: 0x060001CB RID: 459 RVA: 0x000049A0 File Offset: 0x00002BA0
38 public static int systemMemorySize
39 {
40 get
41 {
42 throw new MissingMethodException();
43 }
44 }
45
46 // Token: 0x1700005F RID: 95
47 // (get) Token: 0x060001CC RID: 460 RVA: 0x000049B4 File Offset: 0x00002BB4
48 public static string deviceModel
49 {
50 get
51 {
52 throw new MissingMethodException();
53 }
54 }
55
56 // Token: 0x060001CD RID: 461 RVA: 0x000049C8 File Offset: 0x00002BC8
57 private static bool IsValidEnumValue(Enum value)
58 {
59 long num = 0L;
60 Type type;
61 return Enum.IsDefined(type, num);
62 }
63
64 // Token: 0x060001CE RID: 462 RVA: 0x000049E0 File Offset: 0x00002BE0
66 {
67 throw new MissingMethodException();
68 }
69
70 // Token: 0x060001CF RID: 463 RVA: 0x000049F4 File Offset: 0x00002BF4
71 [FreeFunction("systeminfo::GetOperatingSystem")]
72 private static string GetOperatingSystem()
73 {
74 throw new MissingMethodException();
75 }
76
77 // Token: 0x060001D0 RID: 464 RVA: 0x00004A08 File Offset: 0x00002C08
78 [FreeFunction("systeminfo::GetOperatingSystemFamily")]
80 {
81 throw new MissingMethodException();
82 }
83
84 // Token: 0x060001D1 RID: 465 RVA: 0x00004A1C File Offset: 0x00002C1C
85 [FreeFunction("systeminfo::GetPhysicalMemoryMB")]
86 private static int GetPhysicalMemoryMB()
87 {
88 throw new MissingMethodException();
89 }
90
91 // Token: 0x060001D2 RID: 466 RVA: 0x00004A30 File Offset: 0x00002C30
92 [FreeFunction("systeminfo::GetDeviceModel")]
93 private static string GetDeviceModel()
94 {
95 throw new MissingMethodException();
96 }
97
98 // Token: 0x060001D3 RID: 467 RVA: 0x00004A44 File Offset: 0x00002C44
99 [FreeFunction("ScriptingGraphicsCaps::SupportsTextureFormat")]
101 {
102 throw new MissingMethodException();
103 }
104
105 // Token: 0x060001D4 RID: 468 RVA: 0x00004A58 File Offset: 0x00002C58
106 [FreeFunction("ScriptingGraphicsCaps::IsFormatSupported")]
108 {
109 throw new MissingMethodException();
110 }
111
112 // Token: 0x060001D5 RID: 469 RVA: 0x00004A6C File Offset: 0x00002C6C
113 [FreeFunction("ScriptingGraphicsCaps::GetCompatibleFormat", ThrowsException = true)]
118
119 // Token: 0x060001D6 RID: 470 RVA: 0x00004A80 File Offset: 0x00002C80
120 [FreeFunction("ScriptingGraphicsCaps::GetGraphicsFormat")]
125 }
126}
class f__AnonymousType0<< Count > j__TPar
static bool IsDefined(Type enumType, object value)
Definition Enum.cs:351
static string deviceModel
Definition SystemInfo.cs:49
static string operatingSystem
Definition SystemInfo.cs:19
static OperatingSystemFamily GetOperatingSystemFamily()
Definition SystemInfo.cs:79
static OperatingSystemFamily operatingSystemFamily
Definition SystemInfo.cs:29
static GraphicsFormat GetCompatibleFormat(GraphicsFormat format, FormatUsage usage)
static bool IsValidEnumValue(Enum value)
Definition SystemInfo.cs:57
static string GetOperatingSystem()
Definition SystemInfo.cs:72
static GraphicsFormat GetGraphicsFormat(DefaultFormat format)
static bool IsFormatSupported(GraphicsFormat format, FormatUsage usage)
static string GetDeviceModel()
Definition SystemInfo.cs:93
static int GetPhysicalMemoryMB()
Definition SystemInfo.cs:86
static int systemMemorySize
Definition SystemInfo.cs:39
static bool SupportsTextureFormat(TextureFormat format)
Definition SystemInfo.cs:65
static bool SupportsTextureFormatNative(TextureFormat format)