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

◆ CanHitWithMeleeWeapon()

bool Terraria.Projectile.CanHitWithMeleeWeapon ( Entity ent)
inline

Definition at line 556 of file Projectile.cs.

557 {
558 int num = 1;
559 Vector2 center = ent.Center;
560 float num2 = this.ownerHitCheckDistance;
561 if (num == 0)
562 {
563 }
564 float x = ent.position.X;
565 float y = ent.position.Y;
566 int width = ent.width;
567 bool wet = ent.wet;
568 if (num == 0)
569 {
570 }
571 Vector2 center2 = ent.Center;
572 int height = ent.height;
573 if (height == 0)
574 {
575 }
576 if (height == 0)
577 {
578 }
579 Vector2 center3 = ent.Center;
580 Vector2 center4 = ent.Center;
581 bool flag;
582 return flag;
583 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Entity.height, j__TPar, Terraria.Projectile.ownerHitCheckDistance, Terraria.Entity.wet, and Terraria.Entity.width.

Referenced by Terraria.Projectile.IsInRangeOfMeOrMyOwner().