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

void Terraria.NPC.AI_007_AttemptToPlayIdleAnimationsForPets ( int petIdleChance)
inlineprivate

Definition at line 3639 of file NPC.cs.

3640 {
3641 int num = 1;
3642 float x = this.velocity.X;
3643 if (num == 0)
3644 {
3645 }
3646 bool logicHost = Main.LogicHost;
3647 if (num == 0)
3648 {
3649 }
3650 int num2;
3651 if (num2 == 0)
3652 {
3653 int num3 = this.type;
3654 if (num != 0)
3655 {
3656 return;
3657 }
3658 int num4 = this.type;
3659 float[] array = this.ai;
3660 if (num4 != 0)
3661 {
3662 return;
3663 }
3664 if (num4 == 0)
3665 {
3666 }
3667 int num5 = 22;
3668 float[] array2 = this.ai;
3669 if (num5 == 0)
3670 {
3671 }
3672 float[] array3 = this.ai;
3673 if (this.type == 0)
3674 {
3675 }
3676 float[] array4 = this.ai;
3677 if (this.type == 0)
3678 {
3679 }
3680 float[] array5 = this.ai;
3681 if (this.type == 0)
3682 {
3683 }
3684 float[] array6 = this.ai;
3685 if (array6 == null)
3686 {
3687 }
3688 if (array6 != null)
3689 {
3690 float[] array7 = this.ai;
3691 if (array6 == null)
3692 {
3693 }
3694 }
3695 float[] array8 = this.ai;
3696 int num6 = 1;
3697 float[] array9 = this.localAI;
3698 this.netUpdate = num6 != 0;
3699 }
3700 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
float[] localAI
Definition NPC.cs:11387
float[] ai
Definition NPC.cs:11384

References Terraria.NPC.ai, System.array, j__TPar, Terraria.NPC.localAI, Terraria.Main.LogicHost, Terraria.NPC.type, Terraria.Entity.velocity, and Microsoft.Xna.Framework.Vector2.X.