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

◆ ReadFrom()

void Terraria.DataStructures.NPCFollowState.ReadFrom ( BinaryReader reader)
inline

Definition at line 62 of file NPCFollowState.cs.

63 {
64 short num = reader.ReadInt16();
65 if (Main.player.IndexInRange(num))
66 {
68 }
69 }
virtual short ReadInt16()

References Terraria.DataStructures.NPCFollowState._playerIndexBeingFollowed, Terraria.Main.player, and System.IO.BinaryReader.ReadInt16().