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

void Terraria.NPC.AI_001_Slimes ( )
inlineprivate

Definition at line 3876 of file NPC.cs.

3877 {
3878 int num = this.type;
3879 float[] array = this.ai;
3880 int num2 = 17046;
3881 Vector2 center = base.Center;
3882 Vector2 center2 = base.Center;
3883 if (num2 == 0)
3884 {
3885 }
3886 int num3;
3887 if (num3 == 0)
3888 {
3889 Vector2 center3 = base.Center;
3890 int height = this.height;
3891 int width = this.width;
3892 bool wet = this.wet;
3893 int num4 = 52429;
3894 int num5 = 16128;
3895 int num6 = 1;
3896 Dust dust;
3897 dust.scale = (float)num5;
3898 dust.fadeIn = (float)num4;
3899 dust.noGravity = num6 != 0;
3900 dust.noLight = num6 != 0;
3901 return;
3902 }
3903 int num7 = this.type;
3904 if (this.ai == null)
3905 {
3906 }
3907 bool logicHost = Main.LogicHost;
3908 float num8 = this.value;
3909 float[] array2 = this.ai;
3910 int num9 = 49024;
3911 if (array2 == null)
3912 {
3913 }
3914 float[] array3;
3915 if (array2 != null)
3916 {
3917 array3 = this.ai;
3918 if (array3 == null)
3919 {
3920 }
3921 int num10;
3922 if (num10 == 0)
3923 {
3924 float[] array4 = this.ai;
3925 int num11 = 1;
3926 this.netUpdate = num11 != 0;
3927 goto IL_0135;
3928 }
3929 }
3930 if (array3 == null)
3931 {
3932 }
3933 int num12;
3934 if (num12 == 0)
3935 {
3936 float[] array5 = this.ai;
3937 if (num9 == 0)
3938 {
3939 }
3940 int num13 = NPC.AI_001_Slimes_GenerateItemInsideBody(true);
3941 float[] array6 = this.ai;
3942 int num14 = 1;
3943 this.netUpdate = num14 != 0;
3944 return;
3945 }
3946 IL_0135:
3947 int num15 = this.type;
3948 float[] array7 = this.ai;
3949 }
class f__AnonymousType0<< Count > j__TPar
float[] ai
Definition NPC.cs:11384
float value
Definition NPC.cs:11498

References Terraria.NPC.ai, Terraria.NPC.AI_001_Slimes_GenerateItemInsideBody(), System.array, Terraria.Entity.height, j__TPar, Terraria.Main.LogicHost, Terraria.NPC.type, Terraria.NPC.value, Terraria.Entity.wet, and Terraria.Entity.width.