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
UIHeader.cs
Go to the documentation of this file.
1
using
System
;
2
using
Microsoft.Xna.Framework.Graphics
;
3
using
Terraria.UI
;
4
5
namespace
Terraria.GameContent.UI.Elements
6
{
7
// Token: 0x02000AB6 RID: 2742
8
public
class
UIHeader
:
UIElement
9
{
10
// Token: 0x170008C4 RID: 2244
11
// (get) Token: 0x060050D3 RID: 20691 RVA: 0x0027E854 File Offset: 0x0027CA54
12
// (set) Token: 0x060050D4 RID: 20692 RVA: 0x0027E868 File Offset: 0x0027CA68
13
public
string
Text
14
{
15
get
16
{
17
return
this.
_text
;
18
}
19
set
20
{
21
bool
flag =
this._text
!=
value
;
22
this._text
=
value
;
23
if
(!
true
)
24
{
25
}
26
if
(!
true
)
27
{
28
if
(!
true
)
29
{
30
}
31
string
text
= this.
_text
;
32
}
33
}
34
}
35
36
// Token: 0x060050D5 RID: 20693 RVA: 0x0027E89C File Offset: 0x0027CA9C
37
public
UIHeader
()
38
{
39
if
(!
true
)
40
{
41
}
42
base
..ctor();
43
this.Text
=
""
;
44
}
45
46
// Token: 0x060050D6 RID: 20694 RVA: 0x0027E8C0 File Offset: 0x0027CAC0
47
public
UIHeader
(
string
text
)
48
{
49
if
(!
true
)
50
{
51
}
52
base
..ctor();
53
this.Text
=
text
;
54
}
55
56
// Token: 0x060050D7 RID: 20695 RVA: 0x0027E8E0 File Offset: 0x0027CAE0
57
protected
override
void
DrawSelf
(
SpriteBatch
spriteBatch)
58
{
59
float
x = this.
_dimensions
.
X
;
60
float
y = this.
_dimensions
.
Y
;
61
if
(!
true
)
62
{
63
}
64
string
text
= this.
_text
;
65
if
(!
true
)
66
{
67
}
68
string
text2 = this.
_text
;
69
string
text3
= this.
_text
;
70
string
text4
= this.
_text
;
71
string
text5
= this.
_text
;
72
}
73
74
// Token: 0x04008993 RID: 35219
75
private
string
_text
;
76
}
77
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Microsoft.Xna.Framework.Graphics.SpriteBatch
Definition
SpriteBatch.cs:14
Terraria.GameContent.UI.Elements.UIHeader.UIHeader
UIHeader(string text)
Definition
UIHeader.cs:47
Terraria.GameContent.UI.Elements.UIHeader.DrawSelf
override void DrawSelf(SpriteBatch spriteBatch)
Definition
UIHeader.cs:57
Terraria.GameContent.UI.Elements.UIHeader.UIHeader
UIHeader()
Definition
UIHeader.cs:37
Terraria.GameContent.UI.Elements.UIHeader._text
string _text
Definition
UIHeader.cs:75
Terraria.GameContent.UI.Elements.UIHeader
Definition
UIHeader.cs:9
Terraria.UI.UIElement._dimensions
CalculatedStyle _dimensions
Definition
UIElement.cs:1172
Terraria.UI.UIElement
Definition
UIElement.cs:15
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
Terraria.GameContent.UI.Elements
Definition
EmoteButton.cs:9
Terraria.UI
Definition
Alignment.cs:5
Terraria.UI.CalculatedStyle.X
float X
Definition
CalculatedStyle.cs:62
Terraria.UI.CalculatedStyle.Y
float Y
Definition
CalculatedStyle.cs:65
source
Terraria
GameContent
UI
Elements
UIHeader.cs
Generated by
1.10.0