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

void Terraria.Projectile.AI_010 ( )
inlineprivate

Definition at line 5065 of file Projectile.cs.

5066 {
5067 int num = this.type;
5068 int num2 = this.type;
5069 if (num2 == 0)
5070 {
5071 }
5072 int num3;
5073 if (num3 == 0)
5074 {
5075 float x = this.position.X;
5076 float y = this.position.Y;
5077 int width = this.width;
5078 bool wet = this.wet;
5079 float y2 = this.velocity.Y;
5080 if (num2 == 0)
5081 {
5082 }
5083 return;
5084 }
5085 if (this.type == 0)
5086 {
5087 }
5088 int num4;
5089 this.frame = num4;
5090 int num5 = 1;
5091 this.tileCollide = num5 != 0;
5092 if (num5 == 0)
5093 {
5094 }
5095 int myPlayer = Main.myPlayer;
5096 int num6 = this.owner;
5097 if (num6 == 0)
5098 {
5099 }
5100 if (num6 != 0)
5101 {
5102 int num7 = this.type;
5103 int width2 = this.width;
5104 int height = this.height;
5105 float x2 = this.position.X;
5106 float y3 = this.position.Y;
5107 if (num7 == 0)
5108 {
5109 }
5110 int mouseX = Main.mouseX;
5111 Vector2 screenPosition = Main.screenPosition;
5112 int mouseY = Main.mouseY;
5113 Vector2 screenPosition2 = Main.screenPosition;
5114 if (num7 == 0)
5115 {
5116 }
5117 Vector2 screenPosition3 = Main.screenPosition;
5118 int screenHeight = Main.screenHeight;
5119 int mouseY2 = Main.mouseY;
5120 return;
5121 }
5122 int num8 = 1;
5123 this.netUpdate = num8 != 0;
5124 int num9 = this.type;
5125 }
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.Main.mouseX, Terraria.Main.mouseY, Terraria.Main.myPlayer, Terraria.Projectile.owner, Terraria.Entity.position, Terraria.Main.screenHeight, Terraria.Main.screenPosition, Terraria.Projectile.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.