TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
◆
ClearAllBrokenTraps()
static
void
Terraria.WorldGen.ClearAllBrokenTraps
(
)
inline
static
Definition at line
19548
of file
WorldGen.cs
.
19549
{
19550
//IL_0029: Unknown result type (might be due to invalid IL or missing references)
19551
//IL_0037: Unknown result type (might be due to invalid IL or missing references)
19552
List<Point>
list =
new
List<Point>
();
19553
for
(
int
i = 50; i < Main.maxTilesX - 50; i++)
19554
{
19555
for
(
int
j
= 50;
j
< Main.maxTilesY - 50;
j
++)
19556
{
19557
if
(Main.tile[i,
j
].wire() && !list.Contains(
new
Point(i,
j
)))
19558
{
19559
ClearBrokenTraps
(
new
Point(i,
j
), list);
19560
}
19561
}
19562
}
19563
}
List
Terraria.WorldGen.ClearBrokenTraps
static void ClearBrokenTraps(Point startTileCoords, List< Point > pointsWeAlreadyWentOver)
Definition
WorldGen.cs:19565
References
Terraria.Main.tile
.
Terraria
WorldGen
Generated by
1.10.0