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
GUIStretched.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Microsoft.Xna.Framework
;
4
using
Microsoft.Xna.Framework.Graphics
;
5
6
// Token: 0x02000119 RID: 281
7
public
static
class
GUIStretched
8
{
9
// Token: 0x0600070D RID: 1805 RVA: 0x000189C8 File Offset: 0x00016BC8
10
public
static
void
Draw
(
Stretched_Layout
layout, [Optional]
Rectangle
?
region
, [Optional]
Color
?
overloadedColour
)
11
{
12
float
size = layout.Size;
13
ControlAnchor.ControlId
anchorControl
= layout.AnchorControl;
14
Vector2
location = layout.Location;
15
float
x = layout.Location.X;
16
float
y = layout.Location.Y;
17
if
(!
true
)
18
{
19
}
20
if
(layout.Vertical)
21
{
22
return
;
23
}
24
Texture2D
texture = layout.Backing.Texture;
25
int
width = texture.
Width
;
26
int
height = texture.
Height
;
27
float
scale = layout.Scale;
28
}
29
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
ControlAnchor.ControlId
ControlId
Definition
ControlAnchor.cs:480
GUIStretched.Draw
static void Draw(Stretched_Layout layout, [Optional] Rectangle? region, [Optional] Color? overloadedColour)
Definition
GUIStretched.cs:10
GUIStretched
Definition
GUIStretched.cs:8
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
Definition
Texture2D.cs:10
Stretched_Layout
Definition
Stretched_Layout.cs:8
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System
Definition
__ComObject.cs:4
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Rectangle
Definition
Rectangle.cs:9
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
GUIStretched.cs
Generated by
1.10.0