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
UISelectableTextPanel.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
using
Microsoft.Xna.Framework.Graphics
;
4
using
ReLogic.Content
;
5
6
namespace
Terraria.GameContent.UI.Elements
7
{
8
// Token: 0x02000ACC RID: 2764
9
public
class
UISelectableTextPanel
<T> :
UITextPanel
<T>
10
{
11
// Token: 0x170008CD RID: 2253
12
// (get) Token: 0x06005151 RID: 20817 RVA: 0x000021DB File Offset: 0x000003DB
13
// (set) Token: 0x06005152 RID: 20818 RVA: 0x00280274 File Offset: 0x0027E474
14
public
Func<UISelectableTextPanel<T>
,
bool
>
IsSelected
15
{
16
get
17
{
18
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
19
}
20
set
21
{
22
}
23
}
24
25
// Token: 0x06005153 RID: 20819 RVA: 0x00280284 File Offset: 0x0027E484
26
public
UISelectableTextPanel
(T
text
,
float
textScale
= 1f,
bool
large
=
false
)
27
{
28
if
(!
true
)
29
{
30
}
31
}
32
33
// Token: 0x06005154 RID: 20820 RVA: 0x00280298 File Offset: 0x0027E498
34
protected
override
void
DrawSelf
(
SpriteBatch
spriteBatch)
35
{
36
for
(;;)
37
{
38
int
num = 32640;
39
int
num2
= 32768;
40
int
num3
= 10;
41
if
(
this
!=
null
)
42
{
43
if
(
num3
== 0)
44
{
45
}
46
if
(num == 0)
47
{
48
}
49
if
(10 == 0)
50
{
51
break
;
52
}
53
if
(num == 0)
54
{
55
}
56
if
(
num2
== 0)
57
{
58
break
;
59
}
60
break
;
61
}
62
}
63
}
64
65
// Token: 0x040089E4 RID: 35300
66
private
readonly
Asset<Texture2D>
_BasePanelTexture
;
67
68
// Token: 0x040089E5 RID: 35301
69
private
readonly
Asset<Texture2D>
_hoveredBorderTexture
;
70
71
// Token: 0x040089E6 RID: 35302
72
private
Func<UISelectableTextPanel<T>
,
bool
>
_isSelected
;
73
}
74
}
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
ReLogic.Content.Asset
Definition
Asset.cs:10
System.Func
Definition
Func.cs:8
Terraria.GameContent.UI.Elements.UISelectableTextPanel.UISelectableTextPanel
UISelectableTextPanel(T text, float textScale=1f, bool large=false)
Definition
UISelectableTextPanel.cs:26
Terraria.GameContent.UI.Elements.UISelectableTextPanel._hoveredBorderTexture
readonly Asset< Texture2D > _hoveredBorderTexture
Definition
UISelectableTextPanel.cs:69
Terraria.GameContent.UI.Elements.UISelectableTextPanel.IsSelected
Func< UISelectableTextPanel< T >, bool > IsSelected
Definition
UISelectableTextPanel.cs:15
Terraria.GameContent.UI.Elements.UISelectableTextPanel._BasePanelTexture
readonly Asset< Texture2D > _BasePanelTexture
Definition
UISelectableTextPanel.cs:66
Terraria.GameContent.UI.Elements.UISelectableTextPanel.DrawSelf
override void DrawSelf(SpriteBatch spriteBatch)
Definition
UISelectableTextPanel.cs:34
Terraria.GameContent.UI.Elements.UISelectableTextPanel._isSelected
Func< UISelectableTextPanel< T >, bool > _isSelected
Definition
UISelectableTextPanel.cs:72
Terraria.GameContent.UI.Elements.UISelectableTextPanel
Definition
UISelectableTextPanel.cs:10
Terraria.GameContent.UI.Elements.UITextPanel
Definition
UITextPanel.cs:10
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
ReLogic.Content
Definition
Asset.cs:7
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
Terraria.GameContent.UI.Elements
Definition
EmoteButton.cs:9
source
Terraria
GameContent
UI
Elements
UISelectableTextPanel.cs
Generated by
1.10.0