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

◆ SolidTile2() [1/2]

static bool Terraria.WorldGen.SolidTile2 ( int i,
int j )
inlinestatic

Definition at line 64605 of file WorldGen.cs.

64606 {
64607 try
64608 {
64609 if (Main.tile[i, j] == null)
64610 {
64611 return true;
64612 }
64613 if (Main.tile[i, j].active() && Main.tileSolid[Main.tile[i, j].type] && ((TileID.Sets.Platforms[Main.tile[i, j].type] && (Main.tile[i, j].halfBrick() || Main.tile[i, j].topSlope())) || Main.tile[i, j].slope() == 0) && !Main.tile[i, j].halfBrick() && !Main.tile[i, j].inActive())
64614 {
64615 return true;
64616 }
64617 }
64618 catch
64619 {
64620 }
64621 return false;
64622 }
static bool[] Platforms
Definition TileID.cs:219

References Terraria.ID.TileID.Sets.Platforms, Terraria.Main.tile, and Terraria.Main.tileSolid.