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
HorizontalOrVerticalLayoutGroup.cs
Go to the documentation of this file.
1using System;
4
5namespace UnityEngine.UI
6{
7 // Token: 0x02000045 RID: 69
8 [ExecuteAlways]
10 {
11 // Token: 0x170000AE RID: 174
12 // (get) Token: 0x06000296 RID: 662 RVA: 0x00009D18 File Offset: 0x00007F18
13 // (set) Token: 0x06000297 RID: 663 RVA: 0x00009D2C File Offset: 0x00007F2C
14 public float spacing
15 {
16 get
17 {
18 /*
19An exception occurred when decompiling this method (06000296)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single UnityEngine.UI.HorizontalOrVerticalLayoutGroup::get_spacing()
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 Block_0:
26 stloc:float32(var_0_06, ldfld:float32(HorizontalOrVerticalLayoutGroup::m_Spacing, ldloc:HorizontalOrVerticalLayoutGroup(this)))
27}
28
29 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
30 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
31 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
32 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
33 --- End of inner exception stack trace ---
34 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
35 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
36*/;
37 }
38 set
39 {
40 }
41 }
42
43 // Token: 0x170000AF RID: 175
44 // (get) Token: 0x06000298 RID: 664 RVA: 0x00009D3C File Offset: 0x00007F3C
45 // (set) Token: 0x06000299 RID: 665 RVA: 0x00009D50 File Offset: 0x00007F50
47 {
48 get
49 {
50 return this.m_ChildForceExpandWidth;
51 }
52 set
53 {
54 }
55 }
56
57 // Token: 0x170000B0 RID: 176
58 // (get) Token: 0x0600029A RID: 666 RVA: 0x00009D60 File Offset: 0x00007F60
59 // (set) Token: 0x0600029B RID: 667 RVA: 0x00009D74 File Offset: 0x00007F74
61 {
62 get
63 {
64 return this.m_ChildForceExpandHeight;
65 }
66 set
67 {
68 }
69 }
70
71 // Token: 0x170000B1 RID: 177
72 // (get) Token: 0x0600029C RID: 668 RVA: 0x00009D84 File Offset: 0x00007F84
73 // (set) Token: 0x0600029D RID: 669 RVA: 0x00009D98 File Offset: 0x00007F98
75 {
76 get
77 {
78 return this.m_ChildControlWidth;
79 }
80 set
81 {
82 }
83 }
84
85 // Token: 0x170000B2 RID: 178
86 // (get) Token: 0x0600029E RID: 670 RVA: 0x00009DA8 File Offset: 0x00007FA8
87 // (set) Token: 0x0600029F RID: 671 RVA: 0x00009DBC File Offset: 0x00007FBC
89 {
90 get
91 {
92 return this.m_ChildControlHeight;
93 }
94 set
95 {
96 }
97 }
98
99 // Token: 0x170000B3 RID: 179
100 // (get) Token: 0x060002A0 RID: 672 RVA: 0x00009DCC File Offset: 0x00007FCC
101 // (set) Token: 0x060002A1 RID: 673 RVA: 0x00009DE0 File Offset: 0x00007FE0
102 public bool childScaleWidth
103 {
104 get
105 {
106 return this.m_ChildScaleWidth;
107 }
108 set
109 {
110 }
111 }
112
113 // Token: 0x170000B4 RID: 180
114 // (get) Token: 0x060002A2 RID: 674 RVA: 0x00009DF0 File Offset: 0x00007FF0
115 // (set) Token: 0x060002A3 RID: 675 RVA: 0x00009E04 File Offset: 0x00008004
117 {
118 get
119 {
120 return this.m_ChildScaleHeight;
121 }
122 set
123 {
124 }
125 }
126
127 // Token: 0x170000B5 RID: 181
128 // (get) Token: 0x060002A4 RID: 676 RVA: 0x00009E14 File Offset: 0x00008014
129 // (set) Token: 0x060002A5 RID: 677 RVA: 0x00009E28 File Offset: 0x00008028
131 {
132 get
133 {
134 return this.m_ReverseArrangement;
135 }
136 set
137 {
138 }
139 }
140
141 // Token: 0x060002A6 RID: 678 RVA: 0x00009E38 File Offset: 0x00008038
142 protected void CalcAlongAxis(int axis, bool isVertical)
143 {
145 if (axis != 0)
146 {
147 int vertical = padding.vertical;
148 return;
149 }
150 int size = this.m_RectChildren._size;
151 if (axis != 0)
152 {
153 return;
154 }
156 }
157
158 // Token: 0x060002A7 RID: 679 RVA: 0x00009E94 File Offset: 0x00008094
159 protected void SetChildrenAlongAxis(int axis, bool isVertical)
160 {
161 Vector2 size = base.rectTransform.rect.size;
162 if (axis != 0)
163 {
164 return;
165 }
167 if (axis != 0)
168 {
169 return;
170 }
174 int size2 = rectChildren._size;
175 if (axis != 0)
176 {
177 int vertical = padding.vertical;
178 return;
179 }
182 if (axis != 0)
183 {
184 return;
185 }
186 }
187
188 // Token: 0x060002A8 RID: 680 RVA: 0x00009FB8 File Offset: 0x000081B8
189 private void GetChildSizes(RectTransform child, int axis, bool controlSize, bool childForceExpand, [Out] float min, [Out] float preferred, [Out] float flexible)
190 {
191 if (axis != 0)
192 {
193 float minHeight = LayoutUtility.GetMinHeight(child);
196 return;
197 }
200 }
201
202 // Token: 0x060002A9 RID: 681 RVA: 0x00009FFC File Offset: 0x000081FC
204 {
205 long num = 16843009L;
207 base..ctor();
208 }
209
210 // Token: 0x04000165 RID: 357
212 protected float m_Spacing;
213
214 // Token: 0x04000166 RID: 358
217
218 // Token: 0x04000167 RID: 359
221
222 // Token: 0x04000168 RID: 360
224 protected bool m_ChildControlWidth;
225
226 // Token: 0x04000169 RID: 361
228 protected bool m_ChildControlHeight;
229
230 // Token: 0x0400016A RID: 362
232 protected bool m_ChildScaleWidth;
233
234 // Token: 0x0400016B RID: 363
236 protected bool m_ChildScaleHeight;
237
238 // Token: 0x0400016C RID: 364
240 protected bool m_ReverseArrangement;
241 }
242}
class f__AnonymousType0<< Count > j__TPar
void GetChildSizes(RectTransform child, int axis, bool controlSize, bool childForceExpand, [Out] float min, [Out] float preferred, [Out] float flexible)
List< RectTransform > rectChildren
virtual float preferredHeight
List< RectTransform > m_RectChildren
static float GetFlexibleWidth(RectTransform rect)
static float GetPreferredWidth(RectTransform rect)
static float GetMinHeight(RectTransform rect)
static float GetPreferredHeight(RectTransform rect)
static float GetFlexibleHeight(RectTransform rect)