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

void Terraria.Projectile.AI_001 ( )
inlineprivate

Definition at line 4781 of file Projectile.cs.

4782 {
4783 int num = this.type;
4784 int num8;
4785 if (this.wet && !this.honeyWet && !this.shimmerWet)
4786 {
4787 this.Kill();
4788 int num2 = this.type;
4789 int num3 = this.owner;
4790 long num4 = 0L;
4791 if (num2 == 0)
4792 {
4793 }
4795 Vector2 center = base.Center;
4796 float x = this.velocity.X;
4797 float y = this.velocity.Y;
4798 if (this.alpha == 0)
4799 {
4800 }
4801 Vector2 center2 = base.Center;
4802 Vector2 center3 = base.Center;
4803 float x2 = this.velocity.X;
4804 float y2 = this.velocity.Y;
4805 float x3 = this.position.X;
4806 float y3 = this.position.Y;
4807 int num5 = this.alpha;
4808 int num6 = this.frameCounter;
4809 this.alpha = num5;
4811 if (this.frame == 0)
4812 {
4813 }
4814 int num7 = this.alpha;
4815 if (num7 == 0)
4816 {
4817 if (num7 == 0)
4818 {
4819 }
4820 Vector2 center4 = base.Center;
4821 Vector2 center5 = base.Center;
4822 float x4 = this.velocity.X;
4823 float y4 = this.velocity.Y;
4824 num8 = 1;
4825 }
4826 }
4827 float x5 = this.position.X;
4828 float y5 = this.position.Y;
4829 int width = this.width;
4830 bool wet = this.wet;
4831 if (num8 == 0)
4832 {
4833 }
4834 if (!true)
4835 {
4836 }
4837 float x6 = this.velocity.X;
4838 float y6 = this.velocity.Y;
4839 float x7 = this.position.X;
4840 float y7 = this.position.Y;
4841 float x8 = this.position.X;
4842 float y8 = this.position.Y;
4843 int width2 = this.width;
4844 bool wet2 = this.wet;
4845 if (num8 == 0)
4846 {
4847 }
4848 float x9 = this.velocity.X;
4849 float y9 = this.velocity.Y;
4850 int num9 = this.alpha;
4851 this.alpha = num9;
4852 }
class f__AnonymousType0<< Count > j__TPar
bool shimmerWet
Definition Entity.cs:487
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
static Color GetPortalColor(int colorIndex)

References Terraria.Projectile.alpha, Terraria.Projectile.frame, Terraria.Projectile.frameCounter, Terraria.GameContent.PortalHelper.GetPortalColor(), Terraria.Entity.honeyWet, j__TPar, Terraria.Projectile.Kill(), System.L, Terraria.Projectile.owner, Terraria.Entity.position, Terraria.Entity.shimmerWet, Microsoft.Xna.Framework.Graphics.Color.ToVector3(), Terraria.Projectile.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.