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

◆ SectionFramed()

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

Definition at line 129 of file WorldSections.cs.

130 {
131 if (x < 0 || x >= width)
132 {
133 return false;
134 }
135 if (y < 0 || y >= height)
136 {
137 return false;
138 }
139 return data[y * width + x][1];
140 }

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