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

◆ PlaceUnderwaterPlant()

static void Terraria.WorldGen.PlaceUnderwaterPlant ( ushort type,
int x,
int y )
inlinestatic

Definition at line 12591 of file WorldGen.cs.

12592 {
12593 int num = 1;
12594 if (num == 0)
12595 {
12596 }
12597 long num2 = 0L;
12598 bool flag = WorldGen.CanUnderwaterPlantGrowHere(type, x, y, num2 != 0L);
12599 Tile tileSafely = Framing.GetTileSafely(x, x);
12600 long num3 = 0L;
12601 tileSafely.slope((byte)num3);
12602 long num4 = 0L;
12603 tileSafely.halfBrick(num4 != 0L);
12604 Tile tileSafely2 = Framing.GetTileSafely(x, y);
12605 int num5 = 1;
12606 tileSafely2.active(num5 != 0);
12607 tileSafely2.type = type;
12608 long num6 = 0L;
12609 tileSafely2.frameX = (short)num6;
12610 long num7 = 0L;
12611 tileSafely2.frameY = (short)num7;
12612 long num8 = 0L;
12613 tileSafely2.slope((byte)num8);
12614 long num9 = 0L;
12615 tileSafely2.halfBrick(num9 != 0L);
12616 if (num == 0)
12617 {
12618 }
12619 int num10 = 1;
12620 WorldGen.SquareTileFrame(x, y, num10 != 0);
12621 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Tile.active(), Terraria.WorldGen.CanUnderwaterPlantGrowHere(), Terraria.Framing.GetTileSafely(), j__TPar, System.L, Terraria.Tile.slope(), and Terraria.WorldGen.SquareTileFrame().