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

◆ MapSectionDrawn()

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

Definition at line 142 of file WorldSections.cs.

143 {
144 if (x < 0 || x >= width)
145 {
146 return false;
147 }
148 if (y < 0 || y >= height)
149 {
150 return false;
151 }
152 return data[y * width + x][2];
153 }

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