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

◆ FindTargetWithLineOfSight()

int Terraria.Projectile.FindTargetWithLineOfSight ( float maxRange = 800f)
inline

Definition at line 3295 of file Projectile.cs.

3296 {
3297 int num = 1;
3298 if (num == 0)
3299 {
3300 }
3301 int num2;
3302 if (num2 == 0)
3303 {
3304 if (num == 0)
3305 {
3306 }
3307 float x = this.position.X;
3308 float y = this.position.Y;
3309 int width = this.width;
3310 bool wet = this.wet;
3311 if (num == 0)
3312 {
3313 }
3314 }
3315 return 43143168;
3316 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

References j__TPar, Terraria.Entity.position, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.Projectile.AI_003().