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

◆ RightEdgeCanBeAttachedTo()

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

Definition at line 64523 of file WorldGen.cs.

64524 {
64525 try
64526 {
64527 Tile tile = Main.tile[i, j];
64528 if (tile == null)
64529 {
64530 return true;
64531 }
64532 if (tile.active() && Main.tileSolid[tile.type] && !Main.tileSolidTop[tile.type] && !tile.rightSlope() && !tile.halfBrick() && !tile.inActive() && !Main.tileNoAttach[tile.type])
64533 {
64534 return true;
64535 }
64536 }
64537 catch
64538 {
64539 }
64540 return false;
64541 }

References Terraria.Tile.active(), Terraria.Tile.halfBrick(), Terraria.Tile.inActive(), Terraria.Tile.rightSlope(), Terraria.Main.tile, Terraria.Main.tileNoAttach, Terraria.Main.tileSolid, Terraria.Main.tileSolidTop, and Terraria.Tile.type.

+ Here is the call graph for this function: