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

◆ ScanPlayers()

void Terraria.GameContent.Drawing.WindGrid.ScanPlayers ( )
inlineprivate

Definition at line 73 of file WindGrid.cs.

74 {
75 if (Main.netMode == 0)
76 {
77 ScanPlayer(Main.myPlayer);
78 }
79 else if (Main.netMode == 1)
80 {
81 for (int i = 0; i < 255; i++)
82 {
83 ScanPlayer(i);
84 }
85 }
86 }

References Terraria.Main.myPlayer, Terraria.Main.netMode, and Terraria.GameContent.Drawing.WindGrid.ScanPlayer().

Referenced by Terraria.GameContent.Drawing.WindGrid.Update().