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
LegacyMultiplayerClosePlayersOverlay.cs
Go to the documentation of this file.
1
using
System
;
2
using
Microsoft.Xna.Framework
;
3
using
Microsoft.Xna.Framework.Graphics
;
4
using
Terraria.GameInput
;
5
using
Terraria.Graphics
;
6
7
namespace
Terraria.GameContent.UI
8
{
9
// Token: 0x02000A63 RID: 2659
10
public
class
LegacyMultiplayerClosePlayersOverlay
:
IMultiplayerClosePlayersOverlay
11
{
12
// Token: 0x06004E87 RID: 20103 RVA: 0x00276DB0 File Offset: 0x00274FB0
13
public
void
Draw
()
14
{
15
if
(!
true
)
16
{
17
}
18
if
(!
true
)
19
{
20
}
21
if
(!
true
)
22
{
23
}
24
PlayerInput
.
SetZoom_World
();
25
int
screenWidth =
Main
.
screenWidth
;
26
int
screenHeight =
Main
.
screenHeight
;
27
Vector2
screenPosition =
Main
.
screenPosition
;
28
PlayerInput
.
SetZoom_UI
();
29
if
(!
true
)
30
{
31
}
32
int
myPlayer =
Main
.
myPlayer
;
33
Camera
camera =
Main
.
Camera
;
34
Vector2
screenPosition2
=
Main
.
screenPosition
;
35
int
num = 17279;
36
if
(num == 0 || num != 0)
37
{
38
return
;
39
}
40
int
screenWidth2
=
Main
.
screenWidth
;
41
int
screenHeight2
=
Main
.
screenHeight
;
42
}
43
44
// Token: 0x06004E88 RID: 20104 RVA: 0x00276EB4 File Offset: 0x002750B4
45
private
static
void
DrawPlayerName2
(
SpriteBatch
spriteBatch,
Color
namePlateColor,
string
npDist
,
Vector2
npDistPos
)
46
{
47
if
(!
true
)
48
{
49
}
50
if
(!
true
)
51
{
52
}
53
}
54
55
// Token: 0x06004E89 RID: 20105 RVA: 0x00276EC8 File Offset: 0x002750C8
56
private
static
void
DrawPlayerName
(
SpriteBatch
spriteBatch,
string
namePlate
,
Vector2
namePlatePos,
Color
namePlateColor)
57
{
58
if
(!
true
)
59
{
60
}
61
float
x = namePlatePos.
X
;
62
float
y = namePlatePos.
Y
;
63
if
(!
true
)
64
{
65
}
66
float
x2
= namePlatePos.
X
;
67
float
y2
= namePlatePos.
Y
;
68
float
x3
= namePlatePos.
X
;
69
float
y3
= namePlatePos.
Y
;
70
float
x4
= namePlatePos.
X
;
71
float
y4
= namePlatePos.
Y
;
72
float
x5
= namePlatePos.
X
;
73
float
y5
= namePlatePos.
Y
;
74
}
75
76
// Token: 0x06004E8A RID: 20106 RVA: 0x00276F28 File Offset: 0x00275128
77
public
LegacyMultiplayerClosePlayersOverlay
()
78
{
79
}
80
}
81
}
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.LegacyMultiplayerClosePlayersOverlay.DrawPlayerName
static void DrawPlayerName(SpriteBatch spriteBatch, string namePlate, Vector2 namePlatePos, Color namePlateColor)
Definition
LegacyMultiplayerClosePlayersOverlay.cs:56
Terraria.GameContent.UI.LegacyMultiplayerClosePlayersOverlay.Draw
void Draw()
Definition
LegacyMultiplayerClosePlayersOverlay.cs:13
Terraria.GameContent.UI.LegacyMultiplayerClosePlayersOverlay.LegacyMultiplayerClosePlayersOverlay
LegacyMultiplayerClosePlayersOverlay()
Definition
LegacyMultiplayerClosePlayersOverlay.cs:77
Terraria.GameContent.UI.LegacyMultiplayerClosePlayersOverlay.DrawPlayerName2
static void DrawPlayerName2(SpriteBatch spriteBatch, Color namePlateColor, string npDist, Vector2 npDistPos)
Definition
LegacyMultiplayerClosePlayersOverlay.cs:45
Terraria.GameContent.UI.LegacyMultiplayerClosePlayersOverlay
Definition
LegacyMultiplayerClosePlayersOverlay.cs:11
Terraria.GameInput.PlayerInput.SetZoom_World
static void SetZoom_World()
Definition
PlayerInput.cs:1158
Terraria.GameInput.PlayerInput.SetZoom_UI
static void SetZoom_UI()
Definition
PlayerInput.cs:1153
Terraria.GameInput.PlayerInput
Definition
PlayerInput.cs:15
Terraria.Graphics.Camera
Definition
Camera.cs:9
Terraria.Main.myPlayer
static int myPlayer
Definition
Main.cs:2337
Terraria.Main.screenPosition
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition
Main.cs:1973
Terraria.Main.screenHeight
static int screenHeight
Definition
Main.cs:2015
Terraria.Main.Camera
static Terraria.Graphics.Camera Camera
Definition
Main.cs:296
Terraria.Main.screenWidth
static int screenWidth
Definition
Main.cs:2001
Terraria.Main
Definition
Main.cs:67
Terraria.GameContent.UI.IMultiplayerClosePlayersOverlay
Definition
IMultiplayerClosePlayersOverlay.cs:7
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System
Definition
__ComObject.cs:4
Terraria.GameContent.UI
Definition
BigProgressBarCache.cs:4
Terraria.GameInput
Definition
CursorMode.cs:4
Terraria.Graphics
Definition
Camera.cs:6
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2.X
float X
Definition
Vector2.cs:698
Microsoft.Xna.Framework.Vector2.Y
float Y
Definition
Vector2.cs:701
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
Terraria
GameContent
UI
LegacyMultiplayerClosePlayersOverlay.cs
Generated by
1.10.0