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

void Terraria.Projectile.AI_195_JimsDrone ( )
inlineprivate

Definition at line 1873 of file Projectile.cs.

1874 {
1875 int num = 1;
1876 if (num == 0)
1877 {
1878 }
1879 if (num == 0)
1880 {
1881 }
1882 int myPlayer = Main.myPlayer;
1883 float y = this.position.Y;
1884 int height = this.height;
1885 if (num == 0)
1886 {
1887 }
1888 Item item;
1889 int num2 = item.type;
1890 BitsByte bitsByte = 0;
1891 int num3 = 1;
1892 this.netUpdate = num3 != 0;
1893 Main.DroneCameraTracker.Track(this);
1894 float y2 = this.velocity.Y;
1895 int num4 = 17096;
1896 if (num4 == 0)
1897 {
1898 }
1899 float num5;
1902 {
1903 if (num4 == 0)
1904 {
1905 }
1906 Vector2 center = base.Center;
1907 SlotId slotId;
1908 float num6 = slotId.ToFloat();
1909 if (num4 == 0)
1910 {
1911 }
1912 float num7;
1914 }
1915 if (activeSound != null)
1916 {
1918 Vector2 center2 = base.Center;
1919 }
1920 float num8 = this.rotation;
1921 float num10;
1922 float num9 = MathHelper.WrapAngle(num10);
1923 float x = this.velocity.X;
1924 this.rotation = y;
1925 this.velocity.X = x;
1926 Vector2 vector = num9.ToRotationVector2();
1927 float x2 = this.velocity.X;
1928 float y3 = this.velocity.Y;
1929 }
class f__AnonymousType0<< Count > j__TPar
static float WrapAngle(float angle)
static ActiveSound GetActiveSound(SlotId id)
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
static SlotId FromFloat(float value)
Definition SlotId.cs:102

References Terraria.Main.DroneCameraTracker, ReLogic.Utilities.SlotId.FromFloat(), Terraria.Audio.SoundEngine.GetActiveSound(), Terraria.Entity.height, System.item, j__TPar, Terraria.Main.myPlayer, Terraria.Entity.position, Terraria.Projectile.rotation, ReLogic.Utilities.SlotId.ToFloat(), Terraria.DataStructures.DroneCameraTracker.Track(), Terraria.Item.type, Terraria.Entity.velocity, Microsoft.Xna.Framework.MathHelper.WrapAngle(), Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.