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
UIColoredSliderSimple.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: 0x02000AAD RID: 2733
8
public
class
UIColoredSliderSimple
:
UIElement
9
{
10
// Token: 0x06005080 RID: 20608 RVA: 0x0027D780 File Offset: 0x0027B980
11
protected
override
void
DrawSelf
(
SpriteBatch
spriteBatch)
12
{
13
this.
DrawValueBarDynamicWidth
(spriteBatch);
14
}
15
16
// Token: 0x06005081 RID: 20609 RVA: 0x0027D794 File Offset: 0x0027B994
17
private
void
DrawValueBarDynamicWidth
(
SpriteBatch
sb)
18
{
19
int
num = 1;
20
if
(num == 0)
21
{
22
}
23
float
x = this.
_dimensions
.
X
;
24
if
(num == 0)
25
{
26
}
27
Color
emptyColor
= this.
EmptyColor
;
28
Color
filledColor
= this.
FilledColor
;
29
}
30
31
// Token: 0x06005082 RID: 20610 RVA: 0x0027D7DC File Offset: 0x0027B9DC
32
public
UIColoredSliderSimple
()
33
{
34
if
(!
true
)
35
{
36
}
37
this.FilledColor
= 1;
38
if
(!
true
)
39
{
40
}
41
this.EmptyColor
= 1;
42
if
(!
true
)
43
{
44
}
45
base
..ctor();
46
}
47
48
// Token: 0x0400894A RID: 35146
49
public
float
FillPercent
;
50
51
// Token: 0x0400894B RID: 35147
52
public
Color
FilledColor
;
53
54
// Token: 0x0400894C RID: 35148
55
public
Color
EmptyColor
;
56
}
57
}
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.UIColoredSliderSimple.EmptyColor
Color EmptyColor
Definition
UIColoredSliderSimple.cs:55
Terraria.GameContent.UI.Elements.UIColoredSliderSimple.FilledColor
Color FilledColor
Definition
UIColoredSliderSimple.cs:52
Terraria.GameContent.UI.Elements.UIColoredSliderSimple.DrawSelf
override void DrawSelf(SpriteBatch spriteBatch)
Definition
UIColoredSliderSimple.cs:11
Terraria.GameContent.UI.Elements.UIColoredSliderSimple.FillPercent
float FillPercent
Definition
UIColoredSliderSimple.cs:49
Terraria.GameContent.UI.Elements.UIColoredSliderSimple.DrawValueBarDynamicWidth
void DrawValueBarDynamicWidth(SpriteBatch sb)
Definition
UIColoredSliderSimple.cs:17
Terraria.GameContent.UI.Elements.UIColoredSliderSimple.UIColoredSliderSimple
UIColoredSliderSimple()
Definition
UIColoredSliderSimple.cs:32
Terraria.GameContent.UI.Elements.UIColoredSliderSimple
Definition
UIColoredSliderSimple.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
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
source
Terraria
GameContent
UI
Elements
UIColoredSliderSimple.cs
Generated by
1.10.0