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

◆ AI_158_GetHomeLocation()

static Vector2 Terraria.Projectile.AI_158_GetHomeLocation ( Player master,
int stackedIndex )
inlinestatic

Definition at line 4005 of file Projectile.cs.

4006 {
4007 int height = master.bodyFrame.Height;
4008 int y = master.bodyFrame.Y;
4009 Mount mount = master.mount;
4010 if (mount._active)
4011 {
4012 int num = mount._type;
4013 int direction = master.direction;
4014 }
4015 int direction2 = master.direction;
4016 float gravDir = master.gravDir;
4017 int direction3 = master.direction;
4018 float gravDir2 = master.gravDir;
4019 float gravDir3 = master.gravDir;
4020 int direction4 = master.direction;
4021 float gravDir4 = master.gravDir;
4022 int direction5 = master.direction;
4023 float gravDir5 = master.gravDir;
4024 if (direction5 == 0)
4025 {
4026 }
4027 float gravDir6 = master.gravDir;
4028 if (direction5 == 0)
4029 {
4030 }
4031 Vector2 mountedCenter = master.MountedCenter;
4032 float gravDir7 = master.gravDir;
4033 if (direction5 == 0)
4034 {
4035 return;
4036 }
4037 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Mount._active, Terraria.Mount._type, Terraria.Player.bodyFrame, Terraria.Entity.direction, Terraria.Player.gravDir, Microsoft.Xna.Framework.Rectangle.Height, Terraria.Entity.height, j__TPar, Terraria.Player.mount, Terraria.Player.MountedCenter, and Microsoft.Xna.Framework.Rectangle.Y.