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.
1
using
System
;
2
using
UnityEngine.Scripting
;
3
4
namespace
UnityEngine
5
{
6
// Token: 0x0200001A RID: 26
7
internal
sealed
class
GUIScrollGroup
:
GUILayoutGroup
8
{
9
// Token: 0x060000EF RID: 239 RVA: 0x000046E0 File Offset: 0x000028E0
10
[
RequiredByNativeCode
]
11
public
GUIScrollGroup
()
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
;
31
this.calcMinWidth
=
minWidth2
;
32
if
(flag2)
33
{
34
this.maxWidth
=
maxWidth
;
35
}
36
}
37
38
// Token: 0x060000F1 RID: 241 RVA: 0x00004754 File Offset: 0x00002954
39
public
override
void
SetHorizontal
(
float
x,
float
width)
40
{
41
if
(this.
needsVerticalScrollbar
)
42
{
43
GUIStyle
guistyle
= this.
verticalScrollbar
;
44
throw
new
MissingMethodException
();
45
}
46
if
(this.
allowHorizontalScroll
)
47
{
48
float
num = this.
calcMinWidth
;
49
float
num2
= this.
calcMaxWidth
;
50
int
num3
= 1;
51
this.needsHorizontalScrollbar
= num3 != 0;
52
this.minWidth
= num;
53
this.maxWidth
=
num2
;
54
base
.SetHorizontal(x, width);
55
float
num4
= this.
calcMinWidth
;
56
this.clientWidth
=
num4
;
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
;
72
bool
flag2
= this.
needsHorizontalScrollbar
;
73
this.calcMinHeight
=
minHeight2
;
74
if
(flag2)
75
{
76
GUIStyle
guistyle
= this.
horizontalScrollbar
;
77
throw
new
MissingMethodException
();
78
}
79
if
(this.
allowVerticalScroll
)
80
{
81
this.maxHeight
=
maxHeight
;
82
}
83
}
84
85
// Token: 0x060000F3 RID: 243 RVA: 0x00004874 File Offset: 0x00002A74
86
public
override
void
SetVertical
(
float
y,
float
height)
87
{
88
if
(this.
needsHorizontalScrollbar
)
89
{
90
GUIStyle
guistyle
= this.
horizontalScrollbar
;
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
;
100
if
(!this.
needsHorizontalScrollbar
&& !this.
needsVerticalScrollbar
)
101
{
102
GUIStyle
guistyle2
= this.
verticalScrollbar
;
103
throw
new
MissingMethodException
();
104
}
105
float
num3
= this.
calcMaxHeight
;
106
float
minHeight
= this.
minHeight
;
107
Rect
rect
= this.
rect
;
108
float
num4
;
109
this.minHeight
=
num4
;
110
this.maxHeight
=
num3
;
111
base
.SetVertical(y, height);
112
this.minHeight
=
minHeight
;
113
this.rect
=
rect
;
114
float
num5
= this.
calcMinHeight
;
115
this.clientHeight
=
num5
;
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
140
public
bool
allowVerticalScroll
;
141
142
// Token: 0x040000C4 RID: 196
143
public
bool
needsHorizontalScrollbar
;
144
145
// Token: 0x040000C5 RID: 197
146
public
bool
needsVerticalScrollbar
;
147
148
// Token: 0x040000C6 RID: 198
149
public
GUIStyle
horizontalScrollbar
;
150
151
// Token: 0x040000C7 RID: 199
152
public
GUIStyle
verticalScrollbar
;
153
}
154
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.MissingMethodException
Definition
MissingMethodException.cs:9
UnityEngine.GUILayoutEntry.minHeight
float minHeight
Definition
GUILayoutEntry.cs:176
UnityEngine.GUILayoutEntry.rect
Rect rect
Definition
GUILayoutEntry.cs:182
UnityEngine.GUILayoutEntry.maxHeight
float maxHeight
Definition
GUILayoutEntry.cs:179
UnityEngine.GUILayoutEntry.maxWidth
float maxWidth
Definition
GUILayoutEntry.cs:173
UnityEngine.GUILayoutEntry.minWidth
float minWidth
Definition
GUILayoutEntry.cs:170
UnityEngine.GUILayoutGroup
Definition
GUILayoutGroup.cs:11
UnityEngine.GUIScrollGroup.CalcHeight
override void CalcHeight()
Definition
GUIScrollGroup.cs:62
UnityEngine.GUIScrollGroup.calcMaxHeight
float calcMaxHeight
Definition
GUIScrollGroup.cs:128
UnityEngine.GUIScrollGroup.SetHorizontal
override void SetHorizontal(float x, float width)
Definition
GUIScrollGroup.cs:39
UnityEngine.GUIScrollGroup.calcMinWidth
float calcMinWidth
Definition
GUIScrollGroup.cs:119
UnityEngine.GUIScrollGroup.SetVertical
override void SetVertical(float y, float height)
Definition
GUIScrollGroup.cs:86
UnityEngine.GUIScrollGroup.calcMinHeight
float calcMinHeight
Definition
GUIScrollGroup.cs:125
UnityEngine.GUIScrollGroup.verticalScrollbar
GUIStyle verticalScrollbar
Definition
GUIScrollGroup.cs:152
UnityEngine.GUIScrollGroup.allowHorizontalScroll
bool allowHorizontalScroll
Definition
GUIScrollGroup.cs:137
UnityEngine.GUIScrollGroup.GUIScrollGroup
GUIScrollGroup()
Definition
GUIScrollGroup.cs:11
UnityEngine.GUIScrollGroup.calcMaxWidth
float calcMaxWidth
Definition
GUIScrollGroup.cs:122
UnityEngine.GUIScrollGroup.allowVerticalScroll
bool allowVerticalScroll
Definition
GUIScrollGroup.cs:140
UnityEngine.GUIScrollGroup.clientWidth
float clientWidth
Definition
GUIScrollGroup.cs:131
UnityEngine.GUIScrollGroup.CalcWidth
override void CalcWidth()
Definition
GUIScrollGroup.cs:20
UnityEngine.GUIScrollGroup.needsVerticalScrollbar
bool needsVerticalScrollbar
Definition
GUIScrollGroup.cs:146
UnityEngine.GUIScrollGroup.needsHorizontalScrollbar
bool needsHorizontalScrollbar
Definition
GUIScrollGroup.cs:143
UnityEngine.GUIScrollGroup.horizontalScrollbar
GUIStyle horizontalScrollbar
Definition
GUIScrollGroup.cs:149
UnityEngine.GUIScrollGroup.clientHeight
float clientHeight
Definition
GUIScrollGroup.cs:134
UnityEngine.GUIScrollGroup
Definition
GUIScrollGroup.cs:8
UnityEngine.GUIStyle
Definition
GUIStyle.cs:15
System
Definition
__ComObject.cs:4
UnityEngine.Scripting
Definition
MovedFromAttribute.cs:4
UnityEngine
Definition
_AndroidJNIHelper.cs:6
UnityEngine.Rect
Definition
Rect.cs:14
source
UnityEngine.IMGUIModule
UnityEngine
GUIScrollGroup.cs
Generated by
1.10.0