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

void Terraria.Projectile.AI_151_SuperStar ( )
inlineprivate

Definition at line 1624 of file Projectile.cs.

1625 {
1626 int num = this.alpha;
1627 int num2 = this.soundDelay;
1628 this.alpha = num;
1629 float x;
1630 if (num2 == 0)
1631 {
1632 if (num == 0)
1633 {
1634 }
1635 this.soundDelay = num;
1636 if (num == 0)
1637 {
1638 }
1639 x = this.position.X;
1640 float y = this.position.Y;
1641 }
1642 float num3 = this.rotation;
1643 float x2 = this.velocity.X;
1644 if (num == 0)
1645 {
1646 }
1647 float y2 = this.velocity.Y;
1648 int direction = this.direction;
1649 this.rotation = x;
1650 int screenWidth = Main.screenWidth;
1651 int screenHeight = Main.screenHeight;
1652 Rectangle hitbox = base.Hitbox;
1653 Vector2 screenPosition = Main.screenPosition;
1654 int num4 = 17352;
1655 if (num4 == 0)
1656 {
1657 }
1659 bool flag = rectangle.Intersects(rectangle);
1660 if (num4 == 0)
1661 {
1662 }
1663 int num5;
1664 if (num5 == 0)
1665 {
1666 float x3 = this.position.X;
1667 float y3 = this.position.Y;
1668 float x4 = this.velocity.X;
1669 float y4 = this.velocity.Y;
1670 if (num4 == 0)
1671 {
1672 }
1673 if (num4 == 0)
1674 {
1675 }
1676 if (num4 == 0)
1677 {
1678 }
1679 if (num2 == 0)
1680 {
1681 }
1682 }
1683 int num6 = 26214;
1684 int num7 = 1;
1685 int num8;
1686 if (num8 == 0)
1687 {
1688 float x5 = this.position.X;
1689 float y5 = this.position.Y;
1690 int width = this.width;
1691 bool wet = this.wet;
1692 Dust dust;
1693 float x6 = dust.velocity.X;
1694 float y6 = dust.velocity.Y;
1695 dust.velocity.X = x;
1697 dust.scale = (float)num6;
1698 dust.noGravity = num7 != 0;
1699 float x7 = this.velocity.X;
1700 float y7 = this.velocity.Y;
1701 dust.velocity.X = x;
1703 }
1704 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
void Intersects(Rectangle value, [Out] bool result)
Definition Rectangle.cs:263

References Terraria.Projectile.alpha, Terraria.Entity.direction, Microsoft.Xna.Framework.Rectangle.Intersects(), j__TPar, Terraria.Entity.position, Terraria.Projectile.rotation, Terraria.Main.screenHeight, Terraria.Main.screenPosition, Terraria.Main.screenWidth, Terraria.Projectile.soundDelay, Terraria.Dust.velocity, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.