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

◆ CanHit()

bool Terraria.Player.CanHit ( Entity ent)
inline

Definition at line 13944 of file Player.cs.

13945 {
13946 int num = 1;
13947 float x = this.position.X;
13948 float y = this.position.Y;
13949 int width = this.width;
13950 bool wet = this.wet;
13951 float x2 = ent.position.X;
13952 float y2 = ent.position.Y;
13953 int width2 = ent.width;
13954 bool wet2 = ent.wet;
13955 if (num == 0)
13956 {
13957 }
13958 Microsoft.Xna.Framework.Vector2 center = base.Center;
13959 int direction = this.direction;
13960 int height = this.height;
13961 int height2 = this.height;
13962 float num2 = this.gravDir;
13963 if (direction == 0)
13964 {
13965 }
13967 if (ent.height == 0)
13968 {
13969 }
13971 int direction2 = this.direction;
13972 int height3 = this.height;
13973 int height4 = this.height;
13974 float num3 = this.gravDir;
13975 if (direction2 == 0)
13976 {
13977 }
13979 if (direction2 == 0)
13980 {
13981 }
13983 int direction3 = this.direction;
13984 int height5 = this.height;
13985 if (direction3 == 0)
13986 {
13987 }
13989 if (direction3 == 0)
13990 {
13991 }
13992 bool flag;
13993 return flag;
13994 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

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