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
UITextPanel.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
using
Microsoft.Xna.Framework
;
4
using
Microsoft.Xna.Framework.Graphics
;
5
6
namespace
Terraria.GameContent.UI.Elements
7
{
8
// Token: 0x02000AD0 RID: 2768
9
public
class
UITextPanel
<T> :
UIPanel
10
{
11
// Token: 0x170008D6 RID: 2262
12
// (get) Token: 0x0600517D RID: 20861 RVA: 0x000021DB File Offset: 0x000003DB
13
public
bool
IsLarge
14
{
15
get
16
{
17
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
18
}
19
}
20
21
// Token: 0x170008D7 RID: 2263
22
// (get) Token: 0x0600517E RID: 20862 RVA: 0x000021DB File Offset: 0x000003DB
23
// (set) Token: 0x0600517F RID: 20863 RVA: 0x002809B8 File Offset: 0x0027EBB8
24
public
bool
DrawPanel
25
{
26
get
27
{
28
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
29
}
30
set
31
{
32
}
33
}
34
35
// Token: 0x170008D8 RID: 2264
36
// (get) Token: 0x06005180 RID: 20864 RVA: 0x000021DB File Offset: 0x000003DB
37
// (set) Token: 0x06005181 RID: 20865 RVA: 0x002809C8 File Offset: 0x0027EBC8
38
public
float
TextScale
39
{
40
get
41
{
42
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
43
}
44
set
45
{
46
}
47
}
48
49
// Token: 0x170008D9 RID: 2265
50
// (get) Token: 0x06005182 RID: 20866 RVA: 0x002809D8 File Offset: 0x0027EBD8
51
public
Vector2
TextSize
52
{
53
get
54
{
55
Vector2
vector;
56
return
vector;
57
}
58
}
59
60
// Token: 0x170008DA RID: 2266
61
// (get) Token: 0x06005183 RID: 20867 RVA: 0x002809E8 File Offset: 0x0027EBE8
62
public
string
Text
63
{
64
get
65
{
66
if
(
""
!=
null
)
67
{
68
return
""
;
69
}
70
return
""
;
71
}
72
}
73
74
// Token: 0x170008DB RID: 2267
75
// (get) Token: 0x06005184 RID: 20868 RVA: 0x00280A08 File Offset: 0x0027EC08
76
// (set) Token: 0x06005185 RID: 20869 RVA: 0x00280A18 File Offset: 0x0027EC18
77
public
Color
TextColor
78
{
79
get
80
{
81
Color
color;
82
return
color;
83
}
84
set
85
{
86
}
87
}
88
89
// Token: 0x06005186 RID: 20870 RVA: 0x00280A28 File Offset: 0x0027EC28
90
public
UITextPanel
(T
text
,
float
textScale
= 1f,
bool
large
=
false
)
91
{
92
if
(16256 == 0)
93
{
94
}
95
if
(!
true
)
96
{
97
}
98
base
..ctor();
99
}
100
101
// Token: 0x06005187 RID: 20871 RVA: 0x00280A50 File Offset: 0x0027EC50
102
public
override
void
Recalculate
()
103
{
104
base
.Recalculate();
105
}
106
107
// Token: 0x06005188 RID: 20872 RVA: 0x00280A64 File Offset: 0x0027EC64
108
public
void
SetText
(T
text
)
109
{
110
}
111
112
// Token: 0x06005189 RID: 20873 RVA: 0x00280A74 File Offset: 0x0027EC74
113
public
virtual
void
SetText
(T
text
,
float
textScale
,
bool
large
)
114
{
115
int
num = 1;
116
if
(num == 0)
117
{
118
}
119
if
(num == 0)
120
{
121
}
122
}
123
124
// Token: 0x0600518A RID: 20874 RVA: 0x00280A8C File Offset: 0x0027EC8C
125
protected
override
void
DrawSelf
(
SpriteBatch
spriteBatch)
126
{
127
base
.DrawSelf(spriteBatch);
128
}
129
130
// Token: 0x0600518B RID: 20875 RVA: 0x00280AA0 File Offset: 0x0027ECA0
131
protected
void
DrawText
(
SpriteBatch
spriteBatch)
132
{
133
int
num = 1;
134
if
(num != 0)
135
{
136
if
(num != 0)
137
{
138
T
text
= this.
_text
;
139
return
;
140
}
141
}
142
if
(num == 0)
143
{
144
}
145
}
146
147
// Token: 0x04008A00 RID: 35328
148
protected
T
_text
;
149
150
// Token: 0x04008A01 RID: 35329
151
protected
float
_textScale
;
152
153
// Token: 0x04008A02 RID: 35330
154
protected
Vector2
_textSize
;
155
156
// Token: 0x04008A03 RID: 35331
157
protected
bool
_isLarge
;
158
159
// Token: 0x04008A04 RID: 35332
160
protected
Color
_color
;
161
162
// Token: 0x04008A05 RID: 35333
163
protected
bool
_drawPanel
;
164
165
// Token: 0x04008A06 RID: 35334
166
public
float
TextHAlign
;
167
168
// Token: 0x04008A07 RID: 35335
169
public
bool
HideContents
;
170
171
// Token: 0x04008A08 RID: 35336
172
private
string
_asterisks
;
173
}
174
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Microsoft.Xna.Framework.Graphics.SpriteBatch
Definition
SpriteBatch.cs:14
Terraria.GameContent.UI.Elements.UIPanel
Definition
UIPanel.cs:10
Terraria.GameContent.UI.Elements.UITextPanel._drawPanel
bool _drawPanel
Definition
UITextPanel.cs:163
Terraria.GameContent.UI.Elements.UITextPanel.DrawText
void DrawText(SpriteBatch spriteBatch)
Definition
UITextPanel.cs:131
Terraria.GameContent.UI.Elements.UITextPanel._color
Color _color
Definition
UITextPanel.cs:160
Terraria.GameContent.UI.Elements.UITextPanel.TextSize
Vector2 TextSize
Definition
UITextPanel.cs:52
Terraria.GameContent.UI.Elements.UITextPanel._text
T _text
Definition
UITextPanel.cs:148
Terraria.GameContent.UI.Elements.UITextPanel.TextColor
Color TextColor
Definition
UITextPanel.cs:78
Terraria.GameContent.UI.Elements.UITextPanel._isLarge
bool _isLarge
Definition
UITextPanel.cs:157
Terraria.GameContent.UI.Elements.UITextPanel.DrawSelf
override void DrawSelf(SpriteBatch spriteBatch)
Definition
UITextPanel.cs:125
Terraria.GameContent.UI.Elements.UITextPanel.TextHAlign
float TextHAlign
Definition
UITextPanel.cs:166
Terraria.GameContent.UI.Elements.UITextPanel.UITextPanel
UITextPanel(T text, float textScale=1f, bool large=false)
Definition
UITextPanel.cs:90
Terraria.GameContent.UI.Elements.UITextPanel.DrawPanel
bool DrawPanel
Definition
UITextPanel.cs:25
Terraria.GameContent.UI.Elements.UITextPanel.Recalculate
override void Recalculate()
Definition
UITextPanel.cs:102
Terraria.GameContent.UI.Elements.UITextPanel.HideContents
bool HideContents
Definition
UITextPanel.cs:169
Terraria.GameContent.UI.Elements.UITextPanel._asterisks
string _asterisks
Definition
UITextPanel.cs:172
Terraria.GameContent.UI.Elements.UITextPanel.IsLarge
bool IsLarge
Definition
UITextPanel.cs:14
Terraria.GameContent.UI.Elements.UITextPanel.SetText
virtual void SetText(T text, float textScale, bool large)
Definition
UITextPanel.cs:113
Terraria.GameContent.UI.Elements.UITextPanel.TextScale
float TextScale
Definition
UITextPanel.cs:39
Terraria.GameContent.UI.Elements.UITextPanel._textScale
float _textScale
Definition
UITextPanel.cs:151
Terraria.GameContent.UI.Elements.UITextPanel._textSize
Vector2 _textSize
Definition
UITextPanel.cs:154
Terraria.GameContent.UI.Elements.UITextPanel.SetText
void SetText(T text)
Definition
UITextPanel.cs:108
Terraria.GameContent.UI.Elements.UITextPanel
Definition
UITextPanel.cs:10
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
Terraria.GameContent.UI.Elements
Definition
EmoteButton.cs:9
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
Terraria
GameContent
UI
Elements
UITextPanel.cs
Generated by
1.10.0