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
GUIScrollGroup.cs
Go to the documentation of this file.
1using System;
3
4namespace UnityEngine
5{
6 // Token: 0x0200001A RID: 26
7 internal sealed class GUIScrollGroup : GUILayoutGroup
8 {
9 // Token: 0x060000EF RID: 239 RVA: 0x000046E0 File Offset: 0x000028E0
12 {
13 if (257 == 0)
14 {
15 }
16 base..ctor();
17 }
18
19 // Token: 0x060000F0 RID: 240 RVA: 0x00004708 File Offset: 0x00002908
20 public override void CalcWidth()
21 {
22 bool flag = this.allowHorizontalScroll;
23 float minWidth = this.minWidth;
24 float maxWidth = this.maxWidth;
25 if (flag)
26 {
27 }
28 base.CalcWidth();
29 float minWidth2 = this.minWidth;
30 bool flag2 = this.allowHorizontalScroll;
32 if (flag2)
33 {
35 }
36 }
37
38 // Token: 0x060000F1 RID: 241 RVA: 0x00004754 File Offset: 0x00002954
39 public override void SetHorizontal(float x, float width)
40 {
42 {
44 throw new MissingMethodException();
45 }
46 if (this.allowHorizontalScroll)
47 {
48 float num = this.calcMinWidth;
49 float num2 = this.calcMaxWidth;
50 int num3 = 1;
52 this.minWidth = num;
54 base.SetHorizontal(x, width);
55 float num4 = this.calcMinWidth;
57 return;
58 }
59 }
60
61 // Token: 0x060000F2 RID: 242 RVA: 0x000047F0 File Offset: 0x000029F0
62 public override void CalcHeight()
63 {
64 bool flag = this.allowVerticalScroll;
65 float minHeight = this.minHeight;
66 float maxHeight = this.maxHeight;
67 if (flag)
68 {
69 }
70 base.CalcHeight();
71 float minHeight2 = this.minHeight;
74 if (flag2)
75 {
77 throw new MissingMethodException();
78 }
79 if (this.allowVerticalScroll)
80 {
82 }
83 }
84
85 // Token: 0x060000F3 RID: 243 RVA: 0x00004874 File Offset: 0x00002A74
86 public override void SetVertical(float y, float height)
87 {
89 {
91 throw new MissingMethodException();
92 }
93 if (!this.allowVerticalScroll)
94 {
95 float num;
96 base.SetVertical(y, num);
97 return;
98 }
99 float num2 = this.calcMinHeight;
101 {
103 throw new MissingMethodException();
104 }
105 float num3 = this.calcMaxHeight;
106 float minHeight = this.minHeight;
107 Rect rect = this.rect;
108 float num4;
111 base.SetVertical(y, height);
113 this.rect = rect;
114 float num5 = this.calcMinHeight;
116 }
117
118 // Token: 0x040000BC RID: 188
119 public float calcMinWidth;
120
121 // Token: 0x040000BD RID: 189
122 public float calcMaxWidth;
123
124 // Token: 0x040000BE RID: 190
125 public float calcMinHeight;
126
127 // Token: 0x040000BF RID: 191
128 public float calcMaxHeight;
129
130 // Token: 0x040000C0 RID: 192
131 public float clientWidth;
132
133 // Token: 0x040000C1 RID: 193
134 public float clientHeight;
135
136 // Token: 0x040000C2 RID: 194
137 public bool allowHorizontalScroll = 257 != 0;
138
139 // Token: 0x040000C3 RID: 195
141
142 // Token: 0x040000C4 RID: 196
144
145 // Token: 0x040000C5 RID: 197
147
148 // Token: 0x040000C6 RID: 198
150
151 // Token: 0x040000C7 RID: 199
153 }
154}
class f__AnonymousType0<< Count > j__TPar
override void SetHorizontal(float x, float width)
override void SetVertical(float y, float height)