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

◆ Update()

void Terraria.DataStructures.NPCFollowState.Update ( )
inline

Definition at line 121 of file NPCFollowState.cs.

122 {
123 if (this._playerIndexBeingFollowed != null)
124 {
126 NPC npc;
127 if (playerBeingFollowed.active && !playerBeingFollowed.dead)
128 {
129 this.UpdateBreadcrumbs(playerBeingFollowed);
130 float x = this._floorBreadcrumb.X;
131 float y = this._floorBreadcrumb.Y;
132 if (npc == null)
133 {
134 }
135 if (!true)
136 {
137 }
138 return;
139 }
140 npc = this._npc;
141 float[] ai = npc.ai;
142 npc.netUpdate = true;
143 }
144 }
class f__AnonymousType0<< Count > j__TPar
float[] ai
Definition NPC.cs:11384

References Terraria.DataStructures.NPCFollowState._floorBreadcrumb, Terraria.DataStructures.NPCFollowState._npc, Terraria.DataStructures.NPCFollowState._playerIndexBeingFollowed, Terraria.NPC.ai, j__TPar, Terraria.DataStructures.NPCFollowState.PlayerBeingFollowed, Terraria.DataStructures.NPCFollowState.UpdateBreadcrumbs(), Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.