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

◆ GetPointOnSwungItemPath()

void Terraria.Player.GetPointOnSwungItemPath ( float spriteWidth,
float spriteHeight,
float normalizedPointOnPath,
float itemScale,
[Out] Microsoft::Xna::Framework::Vector2 location,
[Out] Microsoft::Xna::Framework::Vector2 outwardDirection )
inlineprivate

Definition at line 15082 of file Player.cs.

15083 {
15084 if (!true)
15085 {
15086 }
15087 int direction = this.direction;
15088 if (!true)
15089 {
15090 }
15091 int num = true.ToInt();
15092 float num2 = this.gravDir;
15093 int direction2 = this.direction;
15094 float num3 = this.itemRotation;
15095 Microsoft.Xna.Framework.Vector2 vector = spriteWidth.ToRotationVector2();
15097 float x = this.itemLocation.X;
15098 float y = this.itemLocation.Y;
15099 location.Y = (float)direction2;
15100 }
class f__AnonymousType0<< Count > j__TPar
float itemRotation
Definition Player.cs:21143
Microsoft.Xna.Framework.Vector2 itemLocation
Definition Player.cs:21152

References Terraria.Entity.direction, Terraria.Player.gravDir, Terraria.Player.itemLocation, Terraria.Player.itemRotation, and j__TPar.