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_053()

void Terraria.Projectile.AI_053 ( )
inlineprivate

Definition at line 6225 of file Projectile.cs.

6226 {
6227 if (17136 == 0)
6228 {
6229 }
6230 float x = this.position.X;
6231 float y = this.position.Y;
6232 int num = this.type;
6233 float x2 = this.position.X;
6234 float y2 = this.position.Y;
6235 int width = this.width;
6236 bool wet = this.wet;
6237 int num2 = this.type;
6238 int num3 = 4;
6239 this.frame = num3;
6240 float x3 = this.position.X;
6241 float y3 = this.position.Y;
6242 if (num3 == 0)
6243 {
6244 }
6245 int width2 = this.width;
6246 bool wet2 = this.wet;
6247 int num4 = this.type;
6248 Vector2 center = base.Center;
6249 if (num4 == 0)
6250 {
6251 }
6252 if (num4 == 0)
6253 {
6254 }
6255 float y4 = this.velocity.Y;
6257 Vector2 center2 = base.Center;
6258 Vector2 center3 = base.Center;
6260 bool wet3;
6261 if (ownerMinionAttackTargetNPC != null)
6262 {
6263 long num5 = 0L;
6264 bool flag = ownerMinionAttackTargetNPC.CanBeChasedBy(this, num5 != 0L);
6267 float x4 = ownerMinionAttackTargetNPC.position.X;
6268 float y5 = ownerMinionAttackTargetNPC.position.Y;
6269 float x5 = this.position.X;
6270 int width4 = this.width;
6271 if (width3 == 0)
6272 {
6273 }
6274 int height = this.height;
6275 float y6 = this.position.Y;
6276 int num6 = 17530;
6277 float x6 = this.position.X;
6278 int width5 = this.width;
6279 float x7 = ownerMinionAttackTargetNPC.position.X;
6280 float y7 = ownerMinionAttackTargetNPC.position.Y;
6283 if (num6 == 0)
6284 {
6285 }
6287 int num7 = this.type;
6288 return;
6289 }
6290 int num8 = 17530;
6291 if (num8 == 0)
6292 {
6293 }
6294 if (num8 == 0)
6295 {
6296 }
6297 float x8 = this.position.X;
6298 int width7 = this.width;
6299 if (!wet3)
6300 {
6301 }
6302 int height2 = this.height;
6303 float y8 = this.position.Y;
6304 float x9 = this.position.X;
6305 int width8 = this.width;
6306 if (num8 == 0)
6307 {
6308 }
6309 if (!wet3)
6310 {
6311 }
6312 if (num8 == 0)
6313 {
6314 }
6315 int num9 = this.type;
6316 int num10 = 1;
6317 this.netUpdate = num10 != 0;
6318 Vector2 center4 = base.Center;
6319 Vector2 center5 = base.Center;
6320 int num11 = this.frameCounter;
6322 int num12 = this.type;
6323 int num13 = 1;
6324 this.netUpdate = num13 != 0;
6325 if (num12 == 0)
6326 {
6327 }
6328 int myPlayer = Main.myPlayer;
6329 int num14 = this.owner;
6330 int num15 = this.type;
6331 int width9 = this.width;
6332 int height3 = this.height;
6333 float x10 = this.position.X;
6334 float y9 = this.position.Y;
6335 int num16 = this.type;
6336 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
bool CanBeChasedBy([Optional] object attacker, bool ignoreDontTakeDamage=false)
Definition NPC.cs:7266

References Terraria.NPC.CanBeChasedBy(), Terraria.Projectile.frameCounter, Terraria.Entity.height, j__TPar, System.L, Terraria.Main.myPlayer, Terraria.Projectile.owner, Terraria.Projectile.OwnerMinionAttackTargetNPC, Terraria.Entity.position, Terraria.Projectile.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.whoAmI, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.