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

void Terraria.Projectile.AI_060 ( )
inlineprivate

Definition at line 6467 of file Projectile.cs.

6468 {
6469 float num = this.scale;
6470 this.scale = num;
6471 float x = this.velocity.X;
6472 float y = this.velocity.Y;
6473 this.velocity.X = num;
6474 Vector2 velocity = this.velocity;
6476 this.Kill();
6477 int num2 = this.type;
6478 int num3 = this.owner;
6479 int num4 = 103;
6480 if (num2 == 0)
6481 {
6482 }
6483 int myPlayer = Main.myPlayer;
6484 float x2 = this.position.X;
6485 float y2 = this.position.Y;
6486 int width = this.width;
6487 bool wet = this.wet;
6488 if (num2 == 0)
6489 {
6490 }
6491 if (num4 != 0)
6492 {
6493 if (num4 == 0)
6494 {
6495 }
6496 if (num4 == 0)
6497 {
6498 if (num4 == 0)
6499 {
6500 }
6501 if (num4 == 0)
6502 {
6503 }
6504 this.Kill();
6505 }
6506 }
6507 if (this.owner == 0)
6508 {
6509 }
6510 if (num4 != 0)
6511 {
6512 if (num4 == 0)
6513 {
6514 }
6515 if (num4 == 0)
6516 {
6517 if (num4 == 0)
6518 {
6519 }
6520 this.Kill();
6521 }
6522 }
6523 float y3 = this.velocity.Y;
6525 int num5 = this.type;
6526 float x3 = this.position.X;
6527 float y4 = this.position.Y;
6528 float x4 = this.velocity.X;
6529 int width2 = this.width;
6530 bool wet2 = this.wet;
6531 if (num5 == 0)
6532 {
6533 }
6534 if (num4 == 0)
6535 {
6536 }
6537 int num6;
6538 if (num6 != 0 || num4 == 0)
6539 {
6540 }
6541 if (num4 == 0)
6542 {
6543 }
6544 int num7;
6545 if (num7 != 0 || num4 == 0)
6546 {
6547 }
6548 if (num4 == 0)
6549 {
6550 }
6551 int num8;
6552 if (num8 != 0 || num4 == 0)
6553 {
6554 }
6555 if (num4 == 0)
6556 {
6557 }
6558 float x5 = this.velocity.X;
6559 float y5 = this.velocity.Y;
6560 Vector2 center = base.Center;
6561 int num9;
6562 if (num9 == 0)
6563 {
6564 float x6 = this.position.X;
6565 float y6 = this.position.Y;
6566 int width3 = this.width;
6567 bool wet3 = this.wet;
6568 if (num4 == 0)
6569 {
6570 }
6571 float x7 = this.velocity.X;
6572 float y7 = this.velocity.Y;
6573 }
6574 int num10 = this.type;
6575 float x8 = this.velocity.X;
6576 float y8 = this.velocity.Y;
6577 if (num10 == 0)
6578 {
6579 }
6580 float x9 = this.position.X;
6581 float y9 = this.position.Y;
6582 int width4 = this.width;
6583 int height = this.height;
6584 if (num4 == 0)
6585 {
6586 }
6587 int num11;
6588 if (num11 != 0 || num4 == 0)
6589 {
6590 }
6591 if (num4 == 0)
6592 {
6593 }
6594 int num12;
6595 if (num12 != 0 || num4 == 0)
6596 {
6597 }
6598 if (num4 == 0)
6599 {
6600 }
6601 int num13;
6602 if (num13 != 0 || num4 == 0)
6603 {
6604 }
6605 if (num4 == 0)
6606 {
6607 }
6608 float x10 = this.velocity.X;
6609 float y10 = this.velocity.Y;
6610 Vector2 center2 = base.Center;
6611 int num14;
6612 if (num14 == 0)
6613 {
6614 float x11 = this.position.X;
6615 float y11 = this.position.Y;
6616 int num15 = 1;
6617 if (num15 == 0)
6618 {
6619 }
6620 int width5 = this.width;
6621 bool wet4 = this.wet;
6622 if (num15 == 0)
6623 {
6624 }
6625 if (num4 == 0)
6626 {
6627 }
6628 float x12 = this.velocity.X;
6629 float y12 = this.velocity.Y;
6630 return;
6631 }
6632 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References Terraria.Entity.height, j__TPar, Terraria.Projectile.Kill(), Terraria.Main.myPlayer, Terraria.Projectile.owner, Terraria.Entity.position, Terraria.Projectile.scale, Terraria.Projectile.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.