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

void Terraria.Projectile.AI_002 ( )
inlineprivate

Definition at line 4855 of file Projectile.cs.

4856 {
4857 int num = 1;
4858 if (num == 0)
4859 {
4860 }
4861 float x = this.velocity.X;
4862 int num2 = this.type;
4863 if (num == 0)
4864 {
4865 }
4866 int num3;
4867 int num4;
4868 if (num3 == 0)
4869 {
4870 float x2 = this.position.X;
4871 float y = this.position.Y;
4872 int direction = this.direction;
4873 int height = this.height;
4874 int height2 = this.height;
4875 float x3 = this.velocity.X;
4876 float y2 = this.velocity.Y;
4877 if (num == 0)
4878 {
4879 }
4880 num4 = 39322;
4881 }
4882 int num5 = this.type;
4883 Vector2 center = base.Center;
4884 float x4 = this.velocity.X;
4885 float y3 = this.velocity.Y;
4886 if (!true)
4887 {
4888 }
4889 int value = num4.m_value;
4890 float x5 = this.velocity.X;
4891 float y4 = this.velocity.Y;
4892 int num6 = 16;
4893 float x6 = this.velocity.X;
4894 float y5 = this.velocity.Y;
4895 int num7;
4896 if (num7 == 0)
4897 {
4898 }
4899 int num8 = this.alpha;
4900 if (num7 == 0)
4901 {
4902 }
4903 int num9 = Math.Max(0, num6);
4904 this.alpha = num9;
4905 int num10 = this.type;
4906 this.frame = num7;
4907 int num11 = this.type;
4908 float x7 = this.velocity.X;
4909 int direction2 = this.direction;
4910 if (num7 == 0)
4911 {
4912 }
4913 }
class f__AnonymousType0<< Count > j__TPar
static byte Max(byte val1, byte val2)
Definition Math.cs:111
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References Terraria.Projectile.alpha, Terraria.Entity.direction, Terraria.Entity.height, j__TPar, System.Math.Max(), Terraria.Entity.position, Terraria.Projectile.type, System.value, Terraria.Entity.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.