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
UIBestiaryInfoLine.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Cpp2IlInjected
;
4
using
Microsoft.Xna.Framework
;
5
using
Microsoft.Xna.Framework.Graphics
;
6
using
Terraria.UI
;
7
8
namespace
Terraria.GameContent.UI.Elements
9
{
10
// Token: 0x02000AA6 RID: 2726
11
public
class
UIBestiaryInfoLine
<T> :
UIElement
,
IManuallyOrderedUIElement
12
{
13
// Token: 0x170008BE RID: 2238
14
// (get) Token: 0x06005053 RID: 20563 RVA: 0x000021DB File Offset: 0x000003DB
15
// (set) Token: 0x06005054 RID: 20564 RVA: 0x0027CEB4 File Offset: 0x0027B0B4
16
public
int
OrderInUIList
17
{
18
[
CompilerGenerated
]
19
get
20
{
21
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
22
}
23
[
CompilerGenerated
]
24
set
25
{
26
}
27
}
28
29
// Token: 0x170008BF RID: 2239
30
// (get) Token: 0x06005055 RID: 20565 RVA: 0x000021DB File Offset: 0x000003DB
31
// (set) Token: 0x06005056 RID: 20566 RVA: 0x0027CEC4 File Offset: 0x0027B0C4
32
public
float
TextScale
33
{
34
get
35
{
36
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
37
}
38
set
39
{
40
}
41
}
42
43
// Token: 0x170008C0 RID: 2240
44
// (get) Token: 0x06005057 RID: 20567 RVA: 0x0027CED4 File Offset: 0x0027B0D4
45
public
Vector2
TextSize
46
{
47
get
48
{
49
Vector2
vector;
50
return
vector;
51
}
52
}
53
54
// Token: 0x170008C1 RID: 2241
55
// (get) Token: 0x06005058 RID: 20568 RVA: 0x0027CEE4 File Offset: 0x0027B0E4
56
public
string
Text
57
{
58
get
59
{
60
if
(
""
!=
null
)
61
{
62
return
""
;
63
}
64
return
""
;
65
}
66
}
67
68
// Token: 0x170008C2 RID: 2242
69
// (get) Token: 0x06005059 RID: 20569 RVA: 0x0027CF04 File Offset: 0x0027B104
70
// (set) Token: 0x0600505A RID: 20570 RVA: 0x0027CF14 File Offset: 0x0027B114
71
public
Color
TextColor
72
{
73
get
74
{
75
Color
color;
76
return
color;
77
}
78
set
79
{
80
}
81
}
82
83
// Token: 0x0600505B RID: 20571 RVA: 0x0027CF24 File Offset: 0x0027B124
84
public
UIBestiaryInfoLine
(T
text
,
float
textScale
= 1f)
85
{
86
}
87
88
// Token: 0x0600505C RID: 20572 RVA: 0x0027CF40 File Offset: 0x0027B140
89
public
override
void
Recalculate
()
90
{
91
base
.Recalculate();
92
}
93
94
// Token: 0x0600505D RID: 20573 RVA: 0x0027CF54 File Offset: 0x0027B154
95
public
void
SetText
(T
text
)
96
{
97
}
98
99
// Token: 0x0600505E RID: 20574 RVA: 0x0027CF64 File Offset: 0x0027B164
100
public
virtual
void
SetText
(T
text
,
float
textScale
)
101
{
102
int
num = 1;
103
if
(num == 0)
104
{
105
}
106
if
(num == 0)
107
{
108
}
109
}
110
111
// Token: 0x0600505F RID: 20575 RVA: 0x0027CF7C File Offset: 0x0027B17C
112
protected
override
void
DrawSelf
(
SpriteBatch
spriteBatch)
113
{
114
}
115
116
// Token: 0x06005060 RID: 20576 RVA: 0x0027CF8C File Offset: 0x0027B18C
117
public
override
int
CompareTo
(
object
obj
)
118
{
119
if
(
obj
!=
null
)
120
{
121
}
122
return
base
.CompareTo(
obj
);
123
}
124
125
// Token: 0x0400891C RID: 35100
126
private
T
_text
;
127
128
// Token: 0x0400891D RID: 35101
129
private
float
_textScale
;
130
131
// Token: 0x0400891E RID: 35102
132
private
Vector2
_textSize
;
133
134
// Token: 0x0400891F RID: 35103
135
private
Color
_color
;
136
137
// Token: 0x04008920 RID: 35104
138
[
CompilerGenerated
]
139
private
int <OrderInUIList>
k__BackingField
;
140
}
141
}
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.UIBestiaryInfoLine.SetText
void SetText(T text)
Definition
UIBestiaryInfoLine.cs:95
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine._textScale
float _textScale
Definition
UIBestiaryInfoLine.cs:129
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.TextScale
float TextScale
Definition
UIBestiaryInfoLine.cs:33
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.UIBestiaryInfoLine
UIBestiaryInfoLine(T text, float textScale=1f)
Definition
UIBestiaryInfoLine.cs:84
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine._textSize
Vector2 _textSize
Definition
UIBestiaryInfoLine.cs:132
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.SetText
virtual void SetText(T text, float textScale)
Definition
UIBestiaryInfoLine.cs:100
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine._text
T _text
Definition
UIBestiaryInfoLine.cs:126
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.TextColor
Color TextColor
Definition
UIBestiaryInfoLine.cs:72
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.CompareTo
override int CompareTo(object obj)
Definition
UIBestiaryInfoLine.cs:117
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.DrawSelf
override void DrawSelf(SpriteBatch spriteBatch)
Definition
UIBestiaryInfoLine.cs:112
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.Recalculate
override void Recalculate()
Definition
UIBestiaryInfoLine.cs:89
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.OrderInUIList
int OrderInUIList
Definition
UIBestiaryInfoLine.cs:17
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.k__BackingField
int< OrderInUIList > k__BackingField
Definition
UIBestiaryInfoLine.cs:139
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine.TextSize
Vector2 TextSize
Definition
UIBestiaryInfoLine.cs:46
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine._color
Color _color
Definition
UIBestiaryInfoLine.cs:135
Terraria.GameContent.UI.Elements.UIBestiaryInfoLine
Definition
UIBestiaryInfoLine.cs:12
Terraria.UI.UIElement
Definition
UIElement.cs:15
Terraria.GameContent.UI.Elements.IManuallyOrderedUIElement
Definition
IManuallyOrderedUIElement.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
Terraria.GameContent.UI.Elements
Definition
EmoteButton.cs:9
Terraria.UI
Definition
Alignment.cs:5
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
Terraria
GameContent
UI
Elements
UIBestiaryInfoLine.cs
Generated by
1.10.0