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
UIKeybindingSimpleListItem.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Microsoft.Xna.Framework.Graphics
;
4
using
Terraria.UI
;
5
6
namespace
Terraria.GameContent.UI.Elements
7
{
8
// Token: 0x02000ABE RID: 2750
9
public
class
UIKeybindingSimpleListItem
:
UIElement
10
{
11
// Token: 0x060050F8 RID: 20728 RVA: 0x0027EF88 File Offset: 0x0027D188
12
public
UIKeybindingSimpleListItem
(
Func<string>
getText
,
Color
color)
13
{
14
int
num = 1;
15
if
(num == 0)
16
{
17
}
18
num.m_value
= color;
19
if
(
getText
==
null
)
20
{
21
if
(num == 0)
22
{
23
}
24
if
(
getText
!=
null
|| num == 0)
25
{
26
}
27
}
28
}
29
30
// Token: 0x060050F9 RID: 20729 RVA: 0x0027EFB0 File Offset: 0x0027D1B0
31
protected
override
void
DrawSelf
(
SpriteBatch
spriteBatch)
32
{
33
base
.DrawSelf(spriteBatch);
34
float
x = this.
_dimensions
.
X
;
35
float
y = this.
_dimensions
.
Y
;
36
float
width = this.
_dimensions
.
Width
;
37
bool <IsMouseHovering>
k__BackingField
= this.<
IsMouseHovering
>
k__BackingField
;
38
}
39
40
// Token: 0x040089B2 RID: 35250
41
private
Color
_color
;
42
43
// Token: 0x040089B3 RID: 35251
44
private
Func<string>
_GetTextFunction
;
45
46
// Token: 0x02000ABF RID: 2751
47
[
CompilerGenerated
]
48
[Serializable]
49
private
sealed
class <>
c
50
{
51
// Token: 0x060050FA RID: 20730 RVA: 0x0027F06C File Offset: 0x0027D26C
52
// Note: this type is marked as 'beforefieldinit'.
53
static <>
c
()
54
{
55
}
56
57
// Token: 0x060050FB RID: 20731 RVA: 0x0027F07C File Offset: 0x0027D27C
58
public <>
c
()
59
{
60
}
61
62
// Token: 0x060050FC RID: 20732 RVA: 0x0027F090 File Offset: 0x0027D290
63
internal
string
<.ctor>b__2_0()
64
{
65
return
"???"
;
66
}
67
68
// Token: 0x040089B4 RID: 35252
69
public
static
readonly
UIKeybindingSimpleListItem
.<>
c <>
9;
70
71
// Token: 0x040089B5 RID: 35253
72
public
static
Func<string>
<>9
__2_0
;
73
}
74
}
75
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Microsoft.Xna.Framework.Graphics.SpriteBatch
Definition
SpriteBatch.cs:14
System.Func
Definition
Func.cs:8
Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem.UIKeybindingSimpleListItem
UIKeybindingSimpleListItem(Func< string > getText, Color color)
Definition
UIKeybindingSimpleListItem.cs:12
Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem.DrawSelf
override void DrawSelf(SpriteBatch spriteBatch)
Definition
UIKeybindingSimpleListItem.cs:31
Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem.c
class ??? c
Definition
UIKeybindingSimpleListItem.cs:50
Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem._color
Color _color
Definition
UIKeybindingSimpleListItem.cs:41
Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem._GetTextFunction
Func< string > _GetTextFunction
Definition
UIKeybindingSimpleListItem.cs:44
Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem
Definition
UIKeybindingSimpleListItem.cs:10
Terraria.UI.UIElement.k__BackingField
UIElement< Parent > k__BackingField
Definition
UIElement.cs:1045
Terraria.UI.UIElement.IsMouseHovering
bool IsMouseHovering
Definition
UIElement.cs:334
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.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
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
Terraria.UI.CalculatedStyle.X
float X
Definition
CalculatedStyle.cs:62
Terraria.UI.CalculatedStyle.Y
float Y
Definition
CalculatedStyle.cs:65
Terraria.UI.CalculatedStyle.Width
float Width
Definition
CalculatedStyle.cs:68
source
Terraria
GameContent
UI
Elements
UIKeybindingSimpleListItem.cs
Generated by
1.10.0