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
UIList.cs
Go to the documentation of this file.
1using System;
7using Terraria.UI;
8
10{
11 // Token: 0x02000AC2 RID: 2754
12 public class UIList : UIElement, IEnumerable<UIElement>, IEnumerable
13 {
14 // Token: 0x170008C7 RID: 2247
15 // (get) Token: 0x06005103 RID: 20739 RVA: 0x0027F23C File Offset: 0x0027D43C
16 public int Count
17 {
18 get
19 {
20 return this._items._size;
21 }
22 }
23
24 // Token: 0x06005104 RID: 20740 RVA: 0x0027F254 File Offset: 0x0027D454
25 public UIList()
26 {
27 int num = 16544;
28 this.ListPadding = (float)num;
29 if (num == 0)
30 {
31 }
32 base..ctor();
35 int num2 = 1;
36 this.OverflowHidden = num2 != 0;
38 base.Append(innerList3);
39 }
40
41 // Token: 0x06005105 RID: 20741 RVA: 0x0027F2A0 File Offset: 0x0027D4A0
42 public float GetTotalHeight()
43 {
44 /*
45An exception occurred when decompiling this method (06005105)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.GameContent.UI.Elements.UIList::GetTotalHeight()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 Block_0:
52 stloc:float32(var_0_06, ldfld:float32(UIList::_innerListHeight, ldloc:UIList(this)))
53}
54
55 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
56 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
57 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
58 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
59 --- End of inner exception stack trace ---
60 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
61 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
62*/;
63 }
64
65 // Token: 0x06005106 RID: 20742 RVA: 0x0027F2B4 File Offset: 0x0027D4B4
67 {
68 int size = this._items._size;
69 IntPtr method_code = searchMethod.method_code;
70 IntPtr invoke_impl = searchMethod.invoke_impl;
71 IntPtr method = searchMethod.method;
72 int size2 = this._items._size;
73 }
74
75 // Token: 0x06005107 RID: 20743 RVA: 0x000021DB File Offset: 0x000003DB
76 public virtual void Add(UIElement item)
77 {
78 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
79 }
80
81 // Token: 0x06005108 RID: 20744 RVA: 0x0027F318 File Offset: 0x0027D518
82 public virtual bool Remove(UIElement item)
83 {
84 /*
85An exception occurred when decompiling this method (06005108)
86
87ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.GameContent.UI.Elements.UIList::Remove(Terraria.UI.UIElement)
88
89 ---> System.Exception: Basic block has to end with unconditional control flow.
90{
91 Block_0:
92 call:void(UIElement::RemoveChild, ldfld:UIElement(UIList::_innerList, ldloc:UIList(this)), ldloc:UIElement(item))
93 call:void(UIList::UpdateOrder, ldloc:UIList(this))
94 stloc:class [mscorlib]System.Collections.Generic.List`1<class Terraria.UI.UIElement>(var_0_18, ldfld:class [mscorlib]System.Collections.Generic.List`1<class Terraria.UI.UIElement>(UIList::_items, ldloc:UIList(this)))
95}
96
97 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
98 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
99 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
100 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
101 --- End of inner exception stack trace ---
102 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
103 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
104*/;
105 }
106
107 // Token: 0x06005109 RID: 20745 RVA: 0x000021DB File Offset: 0x000003DB
108 public virtual void Clear()
109 {
110 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
111 }
112
113 // Token: 0x0600510A RID: 20746 RVA: 0x0027F340 File Offset: 0x0027D540
114 public override void Recalculate()
115 {
116 base.Recalculate();
117 if (this._scrollbar != null)
118 {
119 float height = this._innerDimensions.Height;
121 return;
122 }
123 }
124
125 // Token: 0x0600510B RID: 20747 RVA: 0x0027F370 File Offset: 0x0027D570
126 public override void ScrollWheel(UIScrollWheelEvent evt)
127 {
128 base.ScrollWheel(evt);
130 if (scrollbar != null)
131 {
132 int scrollWheelValue = evt.ScrollWheelValue;
134 float maxViewSize = scrollbar._maxViewSize;
135 float viewSize = scrollbar._viewSize;
137 }
138 }
139
140 // Token: 0x0600510C RID: 20748 RVA: 0x0027F3B8 File Offset: 0x0027D5B8
141 public override void RecalculateChildren()
142 {
143 base.RecalculateChildren();
144 int size = this._items._size;
145 float listPadding = this.ListPadding;
146 List<UIElement> items = this._items;
148 int size2 = this._items._size;
149 }
150
151 // Token: 0x0600510D RID: 20749 RVA: 0x0027F400 File Offset: 0x0027D600
152 private void UpdateScrollbar()
153 {
154 if (this._scrollbar != null)
155 {
156 float height = this._innerDimensions.Height;
158 return;
159 }
160 }
161
162 // Token: 0x0600510E RID: 20750 RVA: 0x0027F42C File Offset: 0x0027D62C
164 {
166 if (scrollbar != null)
167 {
168 float height = this._innerDimensions.Height;
170 return;
171 }
172 }
173
174 // Token: 0x0600510F RID: 20751 RVA: 0x0027F458 File Offset: 0x0027D658
175 public void UpdateOrder()
176 {
178 List<UIElement> items = this._items;
179 if (manualSortMethod != null)
180 {
181 return;
182 }
183 if (this._scrollbar != null)
184 {
185 float height = this._innerDimensions.Height;
187 return;
188 }
189 }
190
191 // Token: 0x06005110 RID: 20752 RVA: 0x000021DB File Offset: 0x000003DB
193 {
194 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
195 }
196
197 // Token: 0x06005111 RID: 20753 RVA: 0x0027F494 File Offset: 0x0027D694
199 {
200 List<UIElement> items = this._items;
201 throw new OutOfMemoryException();
202 }
203
204 // Token: 0x06005112 RID: 20754 RVA: 0x0027F4B8 File Offset: 0x0027D6B8
205 protected override void DrawSelf(SpriteBatch spriteBatch)
206 {
208 if (scrollbar != null)
209 {
211 float viewPosition = scrollbar._viewPosition;
212 }
213 }
214
215 // Token: 0x06005113 RID: 20755 RVA: 0x0027F4E0 File Offset: 0x0027D6E0
217 {
218 /*
219An exception occurred when decompiling this method (06005113)
220
221ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<Terraria.UI.UIElement> Terraria.GameContent.UI.Elements.UIList::GetEnumerator()
222
223 ---> System.Exception: Basic block has to end with unconditional control flow.
224{
225 Block_0:
226 stloc:class [mscorlib]System.Collections.Generic.List`1<class Terraria.UI.UIElement>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class Terraria.UI.UIElement>(UIList::_items, ldloc:UIList(this)))
227}
228
229 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
230 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
231 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
232 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
233 --- End of inner exception stack trace ---
234 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
235 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
236*/;
237 }
238
239 // Token: 0x06005114 RID: 20756 RVA: 0x0027F4F4 File Offset: 0x0027D6F4
241 {
242 /*
243An exception occurred when decompiling this method (06005114)
244
245ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator Terraria.GameContent.UI.Elements.UIList::System.Collections.IEnumerable.GetEnumerator()
246
247 ---> System.Exception: Basic block has to end with unconditional control flow.
248{
249 Block_0:
250 stloc:class [mscorlib]System.Collections.Generic.List`1<class Terraria.UI.UIElement>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class Terraria.UI.UIElement>(UIList::_items, ldloc:UIList(this)))
251}
252
253 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
254 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
255 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
256 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
257 --- End of inner exception stack trace ---
258 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
259 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
260*/;
261 }
262
263 // Token: 0x040089BD RID: 35261
265
266 // Token: 0x040089BE RID: 35262
268
269 // Token: 0x040089BF RID: 35263
271
272 // Token: 0x040089C0 RID: 35264
273 private float _innerListHeight;
274
275 // Token: 0x040089C1 RID: 35265
276 public float ListPadding;
277
278 // Token: 0x040089C2 RID: 35266
280
281 // Token: 0x02000AC3 RID: 2755
283 {
284 // Token: 0x06005115 RID: 20757 RVA: 0x0027F508 File Offset: 0x0027D708
285 public ElementSearchMethod(object @object, IntPtr method)
286 {
288 this.m_target = @object;
290 this.method_code = this;
291 }
292
293 // Token: 0x06005116 RID: 20758 RVA: 0x0027F568 File Offset: 0x0027D768
294 public bool Invoke(UIElement element)
295 {
296 /*
297An exception occurred when decompiling this method (06005116)
298
299ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.GameContent.UI.Elements.UIList/ElementSearchMethod::Invoke(Terraria.UI.UIElement)
300
301 ---> System.Exception: Basic block has to end with unconditional control flow.
302{
303 Block_0:
304 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:ElementSearchMethod[exp:Delegate](this)))
305 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:ElementSearchMethod[exp:Delegate](this)))
306 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:ElementSearchMethod[exp:Delegate](this)))
307}
308
309 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
310 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
311 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
312 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
313 --- End of inner exception stack trace ---
314 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
315 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
316*/;
317 }
318
319 // Token: 0x06005117 RID: 20759 RVA: 0x000021DB File Offset: 0x000003DB
320 public IAsyncResult BeginInvoke(UIElement element, AsyncCallback callback, object @object)
321 {
322 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
323 }
324
325 // Token: 0x06005118 RID: 20760 RVA: 0x000021DB File Offset: 0x000003DB
326 public bool EndInvoke(IAsyncResult result)
327 {
328 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
329 }
330 }
331
332 // Token: 0x02000AC4 RID: 2756
333 private class UIInnerList : UIElement
334 {
335 // Token: 0x06005119 RID: 20761 RVA: 0x0027F58C File Offset: 0x0027D78C
336 public override bool ContainsPoint(Vector2 point)
337 {
338 return true;
339 }
340
341 // Token: 0x0600511A RID: 20762 RVA: 0x0027F59C File Offset: 0x0027D79C
342 protected override void DrawChildren(SpriteBatch spriteBatch)
343 {
344 float x = this.<Parent>k__BackingField._dimensions.X;
345 UIElement <Parent>k__BackingField = this.<Parent>k__BackingField;
346 float height = <Parent>k__BackingField._dimensions.Height;
347 float width = <Parent>k__BackingField._dimensions.Width;
348 List<UIElement> elements = this.Elements;
349 float x2 = this._dimensions.X;
350 float width2 = this._dimensions.Width;
351 float height2 = this._dimensions.Height;
352 if (<Parent>k__BackingField == null)
353 {
354 }
355 }
356
357 // Token: 0x0600511B RID: 20763 RVA: 0x0027F62C File Offset: 0x0027D82C
359 {
360 float x = this.<Parent>k__BackingField._dimensions.X;
362 return rectangle;
363 }
364
365 // Token: 0x0600511C RID: 20764 RVA: 0x0027F64C File Offset: 0x0027D84C
366 public UIInnerList()
367 {
368 if (!true)
369 {
370 }
371 base..ctor();
372 }
373 }
374 }
375}
class f__AnonymousType0<< Count > j__TPar
IAsyncResult BeginInvoke(UIElement element, AsyncCallback callback, object @object)
Definition UIList.cs:320
override bool ContainsPoint(Vector2 point)
Definition UIList.cs:336
override void DrawChildren(SpriteBatch spriteBatch)
Definition UIList.cs:342
override void ScrollWheel(UIScrollWheelEvent evt)
Definition UIList.cs:126
override void DrawSelf(SpriteBatch spriteBatch)
Definition UIList.cs:205
void Goto(UIList.ElementSearchMethod searchMethod)
Definition UIList.cs:66
virtual void Add(UIElement item)
Definition UIList.cs:76
IEnumerator< UIElement > GetEnumerator()
Definition UIList.cs:216
Action< List< UIElement > > ManualSortMethod
Definition UIList.cs:279
override List< SnapPoint > GetSnapPoints()
Definition UIList.cs:198
int SortMethod(UIElement item1, UIElement item2)
Definition UIList.cs:192
void SetScrollbar(UIScrollbar scrollbar)
Definition UIList.cs:163
virtual bool Remove(UIElement item)
Definition UIList.cs:82
void Append(UIElement element)
Definition UIElement.cs:412
CalculatedStyle _innerDimensions
UIElement< Parent > k__BackingField
readonly List< UIElement > Elements
CalculatedStyle _dimensions