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
GUILayoutGroup.cs
Go to the documentation of this file.
1using System;
5
6namespace UnityEngine
7{
8 // Token: 0x02000019 RID: 25
9 [VisibleToOtherModules(new string[] { "UnityEngine.UIElementsModule", "Unity.UIElements" })]
11 {
12 // Token: 0x17000044 RID: 68
13 // (get) Token: 0x060000DF RID: 223 RVA: 0x00004048 File Offset: 0x00002248
14 public override int marginLeft
15 {
16 get
17 {
18 return this.m_MarginLeft;
19 }
20 }
21
22 // Token: 0x17000045 RID: 69
23 // (get) Token: 0x060000E0 RID: 224 RVA: 0x0000405C File Offset: 0x0000225C
24 public override int marginRight
25 {
26 get
27 {
28 return this.m_MarginRight;
29 }
30 }
31
32 // Token: 0x17000046 RID: 70
33 // (get) Token: 0x060000E1 RID: 225 RVA: 0x00004070 File Offset: 0x00002270
34 public override int marginTop
35 {
36 get
37 {
38 return this.m_MarginTop;
39 }
40 }
41
42 // Token: 0x17000047 RID: 71
43 // (get) Token: 0x060000E2 RID: 226 RVA: 0x00004084 File Offset: 0x00002284
44 public override int marginBottom
45 {
46 get
47 {
48 return this.m_MarginBottom;
49 }
50 }
51
52 // Token: 0x060000E3 RID: 227 RVA: 0x00004098 File Offset: 0x00002298
54 {
55 if (!true)
56 {
57 }
59 }
60
61 // Token: 0x060000E4 RID: 228 RVA: 0x000040BC File Offset: 0x000022BC
62 public override void ApplyOptions(GUILayoutOption[] options)
63 {
64 if (options != null)
65 {
66 base.ApplyOptions(options);
67 object value = options.value;
68 int num = 1;
70 return;
71 }
72 }
73
74 // Token: 0x060000E5 RID: 229 RVA: 0x000040FC File Offset: 0x000022FC
75 protected override void ApplyStyleSettings(GUIStyle style)
76 {
77 base.ApplyStyleSettings(style);
78 RectOffset margin = style.margin;
79 int left = margin.left;
80 this.m_MarginLeft = left;
81 int right = margin.right;
82 this.m_MarginRight = right;
83 int top = margin.top;
84 this.m_MarginTop = top;
85 int bottom = margin.bottom;
86 this.m_MarginBottom = bottom;
87 }
88
89 // Token: 0x060000E6 RID: 230 RVA: 0x00004154 File Offset: 0x00002354
90 public void ResetCursor()
91 {
92 }
93
94 // Token: 0x060000E7 RID: 231 RVA: 0x00004164 File Offset: 0x00002364
96 {
97 int cursor = this.m_Cursor;
98 throw new MissingMethodException();
99 }
100
101 // Token: 0x060000E8 RID: 232 RVA: 0x000020F5 File Offset: 0x000002F5
102 public void Add(GUILayoutEntry e)
103 {
104 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
105 }
106
107 // Token: 0x060000E9 RID: 233 RVA: 0x000020F5 File Offset: 0x000002F5
108 public override void CalcWidth()
109 {
110 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
111 }
112
113 // Token: 0x060000EA RID: 234 RVA: 0x000041B8 File Offset: 0x000023B8
114 public override void SetHorizontal(float x, float width)
115 {
116 bool flag = this.resetCoords;
117 RectOffset padding = this.m_Style.padding;
118 bool flag2 = this.isVertical;
119 GUIStyle style = this.m_Style;
121 if (!flag2)
122 {
123 int left = padding.left;
124 int right = padding.right;
125 if (this.entries._size != 0)
126 {
127 int size = this.entries._size;
128 }
129 List<GUILayoutEntry> list = this.entries;
130 float num = this.spacing;
131 float childMinWidth = this.m_ChildMinWidth;
132 float childMaxWidth = this.m_ChildMaxWidth;
133 int size2 = list._size;
134 int stretchableCountX = this.m_StretchableCountX;
135 float minWidth = this.minWidth;
136 float maxWidth = this.maxWidth;
137 bool consideredForMargin = this.consideredForMargin;
138 int stretchWidth = this.stretchWidth;
139 if (consideredForMargin)
140 {
141 }
142 return;
143 }
144 List<GUILayoutEntry> list2 = this.entries;
145 int left2 = padding.left;
146 int right2 = padding.right;
147 if (this.stretchWidth != 0)
148 {
149 throw new MissingMethodException();
150 }
151 float minWidth2 = this.minWidth;
152 float maxWidth2 = this.maxWidth;
153 throw new MissingMethodException();
154 }
155
156 // Token: 0x060000EB RID: 235 RVA: 0x00004324 File Offset: 0x00002524
157 public override void CalcHeight()
158 {
159 if (this.entries._size == 0)
160 {
161 int vertical = this.m_Style.padding.vertical;
162 return;
163 }
164 if (this.isVertical)
165 {
166 return;
167 }
168 }
169
170 // Token: 0x060000EC RID: 236 RVA: 0x000044D4 File Offset: 0x000026D4
171 public override void SetVertical(float y, float height)
172 {
173 if (this.entries._size == 0)
174 {
175 return;
176 }
177 RectOffset padding = this.m_Style.padding;
178 bool flag = this.resetCoords;
179 bool flag2 = this.isVertical;
180 GUIStyle style = this.m_Style;
182 if (flag2)
183 {
184 int top = padding.top;
185 int bottom = padding.bottom;
186 if (this.entries._size != 0)
187 {
188 int size = this.entries._size;
189 }
190 List<GUILayoutEntry> list = this.entries;
191 float num = this.spacing;
192 float childMinHeight = this.m_ChildMinHeight;
193 float childMaxHeight = this.m_ChildMaxHeight;
194 int size2 = list._size;
195 int stretchableCountY = this.m_StretchableCountY;
196 if (stretchableCountY != 0)
197 {
198 }
199 return;
200 }
201 List<GUILayoutEntry> list2 = this.entries;
202 if (this.stretchHeight != 0)
203 {
204 throw new MissingMethodException();
205 }
206 float minHeight = this.minHeight;
207 float maxHeight = this.maxHeight;
208 throw new MissingMethodException();
209 }
210
211 // Token: 0x060000ED RID: 237 RVA: 0x00004620 File Offset: 0x00002820
212 public override string ToString()
213 {
214 if (!true)
215 {
216 }
217 return "" + " ";
218 }
219
220 // Token: 0x060000EE RID: 238 RVA: 0x000046C8 File Offset: 0x000028C8
221 // Note: this type is marked as 'beforefieldinit'.
223 {
224 if (!true)
225 {
226 }
228 }
229
230 // Token: 0x040000A7 RID: 167
232
233 // Token: 0x040000A8 RID: 168
234 public bool isVertical = true;
235
236 // Token: 0x040000A9 RID: 169
237 public bool resetCoords;
238
239 // Token: 0x040000AA RID: 170
240 public float spacing;
241
242 // Token: 0x040000AB RID: 171
243 public bool sameSize = true;
244
245 // Token: 0x040000AC RID: 172
246 public bool isWindow;
247
248 // Token: 0x040000AD RID: 173
249 public int windowID;
250
251 // Token: 0x040000AE RID: 174
252 private int m_Cursor;
253
254 // Token: 0x040000AF RID: 175
255 protected int m_StretchableCountX;
256
257 // Token: 0x040000B0 RID: 176
258 protected int m_StretchableCountY;
259
260 // Token: 0x040000B1 RID: 177
261 protected bool m_UserSpecifiedWidth;
262
263 // Token: 0x040000B2 RID: 178
264 protected bool m_UserSpecifiedHeight;
265
266 // Token: 0x040000B3 RID: 179
267 protected float m_ChildMinWidth;
268
269 // Token: 0x040000B4 RID: 180
270 protected float m_ChildMaxWidth;
271
272 // Token: 0x040000B5 RID: 181
273 protected float m_ChildMinHeight;
274
275 // Token: 0x040000B6 RID: 182
276 protected float m_ChildMaxHeight;
277
278 // Token: 0x040000B7 RID: 183
279 protected int m_MarginLeft;
280
281 // Token: 0x040000B8 RID: 184
282 protected int m_MarginRight;
283
284 // Token: 0x040000B9 RID: 185
285 protected int m_MarginTop;
286
287 // Token: 0x040000BA RID: 186
288 protected int m_MarginBottom;
289
290 // Token: 0x040000BB RID: 187
292 }
293}
class f__AnonymousType0<< Count > j__TPar
override void ApplyOptions(GUILayoutOption[] options)
override void SetVertical(float y, float height)
static readonly GUILayoutEntry none
override void ApplyStyleSettings(GUIStyle style)
List< GUILayoutEntry > entries
void Add(GUILayoutEntry e)
override void SetHorizontal(float x, float width)
RectOffset margin
Definition GUIStyle.cs:246
static GUIStyle none
Definition GUIStyle.cs:295