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
GUIProgressBar.cs
Go to the documentation of this file.
1
using
System
;
2
using
Microsoft.Xna.Framework
;
3
using
Microsoft.Xna.Framework.Graphics
;
4
5
// Token: 0x02000113 RID: 275
6
public
static
class
GUIProgressBar
7
{
8
// Token: 0x060006E7 RID: 1767 RVA: 0x0001749C File Offset: 0x0001569C
9
public
static
void
Draw
(
ProgressBar_Layout
layout,
float
value
)
10
{
11
ControlAnchor.ControlId
anchorControl
= layout.AnchorControl;
12
Vector2
location = layout.Location;
13
float
x = layout.Location.X;
14
float
y = layout.Location.Y;
15
if
(!
true
)
16
{
17
}
18
float
x2
= layout.FillingLocation.X;
19
float
y2
= layout.FillingLocation.Y;
20
float
backingScale
= layout.BackingScale;
21
if
(!
true
)
22
{
23
}
24
float
x3
= layout.FillingSize.X;
25
float
y3
= layout.FillingSize.Y;
26
float
backingScale2
= layout.BackingScale;
27
Texture2D
texture = layout.Backing.Texture;
28
int
width = texture.
Width
;
29
int
height = texture.
Height
;
30
float
backingScale3
= layout.BackingScale;
31
Color
fillingColor
= layout.FillingColor;
32
if
(32768 == 0)
33
{
34
}
35
Color
fillingColorEmpty
= layout.FillingColorEmpty;
36
int
width2
= texture.
Width
;
37
int
arraySize
= texture.
ArraySize
;
38
float
backingScale4
= layout.BackingScale;
39
}
40
41
// Token: 0x060006E8 RID: 1768 RVA: 0x0001758C File Offset: 0x0001578C
42
private
static
void
DrawFilling2
(
SpriteBatch
spritebatch
,
Vector2
topLeft
,
int
height,
int
completedWidth
,
int
totalWidth,
Color
filled
,
Color
separator
,
Color
empty)
43
{
44
if
(!
true
)
45
{
46
}
47
}
48
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
ControlAnchor.ControlId
ControlId
Definition
ControlAnchor.cs:480
GUIProgressBar.DrawFilling2
static void DrawFilling2(SpriteBatch spritebatch, Vector2 topLeft, int height, int completedWidth, int totalWidth, Color filled, Color separator, Color empty)
Definition
GUIProgressBar.cs:42
GUIProgressBar.Draw
static void Draw(ProgressBar_Layout layout, float value)
Definition
GUIProgressBar.cs:9
GUIProgressBar
Definition
GUIProgressBar.cs:7
Microsoft.Xna.Framework.Graphics.SpriteBatch
Definition
SpriteBatch.cs:14
Microsoft.Xna.Framework.Graphics.Texture2D.Height
readonly int Height
Definition
Texture2D.cs:449
Microsoft.Xna.Framework.Graphics.Texture2D.Width
readonly int Width
Definition
Texture2D.cs:446
Microsoft.Xna.Framework.Graphics.Texture2D.ArraySize
int ArraySize
Definition
Texture2D.cs:452
Microsoft.Xna.Framework.Graphics.Texture2D
Definition
Texture2D.cs:10
ProgressBar_Layout
Definition
ProgressBar_Layout.cs:8
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
GUIProgressBar.cs
Generated by
1.10.0