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
GUIAnimatedTexture.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: 0x02000101 RID: 257
6
public
static
class
GUIAnimatedTexture
7
{
8
// Token: 0x060006A1 RID: 1697 RVA: 0x00015614 File Offset: 0x00013814
9
public
static
void
Draw
(
AnimatedTexture_Layout
layout,
float
animationScale
)
10
{
11
int
numXFrames
= layout.NumXFrames;
12
ControlAnchor.ControlId
anchorControl
= layout.AnchorControl;
13
Vector2
location = layout.Location;
14
float
x = layout.Location.X;
15
float
y = layout.Location.Y;
16
if
(32640 == 0)
17
{
18
}
19
bool
anchorForSize
= layout.AnchorForSize;
20
if
(
anchorForSize
)
21
{
22
ControlAnchor.ControlId
sizeAnchorControl
= layout.SizeAnchorControl;
23
Vector2
sizeLocation
= layout.SizeLocation;
24
float
x2
= layout.SizeLocation.X;
25
float
y2
= layout.SizeLocation.Y;
26
if
(!
anchorForSize
)
27
{
28
}
29
if
(!
anchorForSize
)
30
{
31
}
32
return
;
33
}
34
float
x3
= layout.Size.X;
35
float
y3
= layout.Size.Y;
36
if
(!
anchorForSize
)
37
{
38
}
39
if
(layout.Texture.Texture !=
null
)
40
{
41
Color
color = layout.Color;
42
int
numXFrames2
= layout.NumXFrames;
43
}
44
}
45
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
AnimatedTexture_Layout
Definition
AnimatedTexture_Layout.cs:8
ControlAnchor.ControlId
ControlId
Definition
ControlAnchor.cs:480
GUIAnimatedTexture.Draw
static void Draw(AnimatedTexture_Layout layout, float animationScale)
Definition
GUIAnimatedTexture.cs:9
GUIAnimatedTexture
Definition
GUIAnimatedTexture.cs:7
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
GUIAnimatedTexture.cs
Generated by
1.10.0