Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
DoBootsEffect()
void
Terraria.Player.DoBootsEffect
(
Utils::TileActionAttempt
theEffectMethod
)
inline
Definition at line
13400
of file
Player.cs
.
13401
{
13402
if
(
miscCounter
% 2 == 0 &&
velocity
.
Y
== 0f &&
grappling
[0] == -1 &&
velocity
.
X
!= 0f)
13403
{
13404
int
x = (int)
base
.Center.X / 16;
13405
int
y = (int)(
position
.
Y
+ (
float
)
height
- 1f) / 16;
13406
theEffectMethod
(x, y);
13407
}
13408
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
Terraria.Entity.velocity
Vector2 velocity
Definition
Entity.cs:16
Terraria.Entity.position
Vector2 position
Definition
Entity.cs:14
Terraria.Entity.height
int height
Definition
Entity.cs:28
Terraria.Player.grappling
int[] grappling
Definition
Player.cs:2305
Terraria.Player.miscCounter
int miscCounter
Definition
Player.cs:863
Microsoft.Xna.Framework.Vector2.X
float X
Definition
Vector2.cs:14
Microsoft.Xna.Framework.Vector2.Y
float Y
Definition
Vector2.cs:17
Terraria
Player
Generated by
1.10.0