terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Apply()

override bool Terraria.WorldBuilding.Actions.PlaceWall.Apply ( Point origin,
int x,
int y,
params object[] args )
inline

Definition at line 607 of file Actions.cs.

608 {
609 int num = 1;
610 if (num == 0)
611 {
612 }
613 ushort type = this._type;
614 Tile tile;
615 tile.wall = type;
616 if (num == 0)
617 {
618 }
619 int num2 = 1;
620 WorldGen.SquareWallFrame(x, y, num2 != 0);
621 bool neighbors = this._neighbors;
622 if (neighbors)
623 {
624 if (!neighbors)
625 {
626 }
627 int num3 = 1;
628 WorldGen.SquareWallFrame(0, y, num3 != 0);
629 int num4 = 1;
630 WorldGen.SquareWallFrame(0, y, num4 != 0);
631 int num5 = 1;
632 WorldGen.SquareWallFrame(x, y, num5 != 0);
633 int num6 = 1;
634 WorldGen.SquareWallFrame(x, y, num6 != 0);
635 }
636 return base.UnitApply(origin, x, y, args);
637 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.WorldBuilding.Actions.PlaceWall._neighbors, Terraria.WorldBuilding.Actions.PlaceWall._type, j__TPar, and Terraria.WorldGen.SquareWallFrame().