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
GUIContent.cs
Go to the documentation of this file.
1using System;
5
6namespace UnityEngine
7{
8 // Token: 0x02000011 RID: 17
9 [RequiredByNativeCode(Optional = true, GenerateProxy = true)]
10 [NativeHeader("Modules/IMGUI/GUIContent.h")]
12 [StructLayout(0)]
13 public class GUIContent
14 {
15 // Token: 0x17000026 RID: 38
16 // (get) Token: 0x06000089 RID: 137 RVA: 0x00003298 File Offset: 0x00001498
17 // (set) Token: 0x0600008A RID: 138 RVA: 0x000032AC File Offset: 0x000014AC
18 public string text
19 {
20 get
21 {
22 return this.m_Text;
23 }
24 set
25 {
27 }
28 }
29
30 // Token: 0x17000027 RID: 39
31 // (set) Token: 0x0600008B RID: 139 RVA: 0x000032C0 File Offset: 0x000014C0
33 {
34 set
35 {
37 }
38 }
39
40 // Token: 0x17000028 RID: 40
41 // (get) Token: 0x0600008C RID: 140 RVA: 0x000032D4 File Offset: 0x000014D4
42 // (set) Token: 0x0600008D RID: 141 RVA: 0x000032E8 File Offset: 0x000014E8
43 public string tooltip
44 {
45 get
46 {
47 return this.m_Tooltip;
48 }
49 set
50 {
52 }
53 }
54
55 // Token: 0x0600008E RID: 142 RVA: 0x000032FC File Offset: 0x000014FC
56 public GUIContent()
57 {
58 }
59
60 // Token: 0x0600008F RID: 143 RVA: 0x00003310 File Offset: 0x00001510
61 public GUIContent(string text)
62 {
63 }
64
65 // Token: 0x06000090 RID: 144 RVA: 0x00003320 File Offset: 0x00001520
66 public GUIContent(string text, Texture image, string tooltip)
67 {
71 }
72
73 // Token: 0x06000091 RID: 145 RVA: 0x00003348 File Offset: 0x00001548
75 {
76 string text = src.m_Text;
78 string tooltip = src.m_Tooltip;
80 }
81
82 // Token: 0x06000092 RID: 146 RVA: 0x00003378 File Offset: 0x00001578
83 internal static GUIContent Temp(string t)
84 {
85 if (!true)
86 {
87 }
88 return 1;
89 }
90
91 // Token: 0x06000093 RID: 147 RVA: 0x0000338C File Offset: 0x0000158C
92 internal static void ClearStaticCache()
93 {
94 if (!true)
95 {
96 }
97 }
98
99 // Token: 0x06000094 RID: 148 RVA: 0x0000339C File Offset: 0x0000159C
100 public override string ToString()
101 {
102 string tooltip;
103 if (this.m_Text == null)
104 {
105 tooltip = this.m_Tooltip;
106 if (tooltip == null)
107 {
108 return tooltip.ToString();
109 }
110 }
111 return tooltip;
112 }
113
114 // Token: 0x06000095 RID: 149 RVA: 0x000033C4 File Offset: 0x000015C4
115 // Note: this type is marked as 'beforefieldinit'.
116 static GUIContent()
117 {
118 }
119
120 // Token: 0x04000069 RID: 105
122 private string m_Text;
123
124 // Token: 0x0400006A RID: 106
127
128 // Token: 0x0400006B RID: 107
130 private string m_Tooltip;
131
132 // Token: 0x0400006C RID: 108
133 private static readonly GUIContent s_Text;
134
135 // Token: 0x0400006D RID: 109
137
138 // Token: 0x0400006E RID: 110
140
141 // Token: 0x0400006F RID: 111
142 public static GUIContent none;
143 }
144}
class f__AnonymousType0<< Count > j__TPar
GUIContent(string text)
Definition GUIContent.cs:61
static readonly GUIContent s_Text
static readonly GUIContent s_TextImage
GUIContent(GUIContent src)
Definition GUIContent.cs:74
static readonly GUIContent s_Image
static GUIContent Temp(string t)
Definition GUIContent.cs:83
static GUIContent none
GUIContent(string text, Texture image, string tooltip)
Definition GUIContent.cs:66
override string ToString()
static void ClearStaticCache()
Definition GUIContent.cs:92