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

◆ SectionNeedsRefresh()

bool Terraria.WorldSections.SectionNeedsRefresh ( int x,
int y )
inline

Definition at line 89 of file WorldSections.cs.

90 {
91 if (x < 0 || x >= width)
92 {
93 return false;
94 }
95 if (y < 0 || y >= height)
96 {
97 return false;
98 }
99 return data[y * width + x][3];
100 }

References Terraria.WorldSections.data, Terraria.WorldSections.height, and Terraria.WorldSections.width.