TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ResetNetOffsets()

static void Terraria.NPC.ResetNetOffsets ( )
inlinestatic

Definition at line 107052 of file NPC.cs.

107053 {
107054 //IL_0016: Unknown result type (might be due to invalid IL or missing references)
107055 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
107056 //IL_0025: Unknown result type (might be due to invalid IL or missing references)
107057 offSetDelayTime = 180;
107058 for (int i = 0; i < 200; i++)
107059 {
107060 NPC obj = Main.npc[i];
107061 obj.netOffset *= 0f;
107062 }
107063 }
static int offSetDelayTime
Definition NPC.cs:1274

References Terraria.Main.npc.

Referenced by Terraria.Main.DoDraw_UpdateCameraPosition(), Terraria.Player.Spawn(), and Terraria.Player.Teleport().

+ Here is the caller graph for this function: