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

◆ AttemptToGeneratePlanteraBulbAt()

static bool Terraria.WorldGen.AttemptToGeneratePlanteraBulbAt ( int i,
int j,
bool forceBulb )
inlinestaticprivate

Definition at line 15609 of file WorldGen.cs.

15610 {
15611 int num = 1;
15612 if (num == 0)
15613 {
15614 }
15615 Tile tile;
15616 ushort type = tile.type;
15617 if (num == 0)
15618 {
15619 }
15620 if (num == 0)
15621 {
15622 }
15623 if (num == 0)
15624 {
15625 int num2 = 1;
15626 if (num == 0)
15627 {
15628 }
15629 Tile tile2;
15630 tile2.ClearTile();
15631 if (num2 != 0)
15632 {
15633 int num3 = 60;
15634 tile2.type = (ushort)num3;
15635 int num4 = 1;
15636 tile2.active(num4 != 0);
15637 }
15638 if (num == 0)
15639 {
15640 }
15641 int num5 = 1;
15642 WorldGen.SquareTileFrame(j, 43143168, num5 != 0);
15643 if (num == 0)
15644 {
15645 }
15646 int num6 = 238;
15647 long num7 = 0L;
15648 long num8 = 0L;
15649 WorldGen.PlaceJunglePlant(0, i, (ushort)num6, (int)num7, (int)num8);
15650 if (num == 0)
15651 {
15652 }
15653 Tile tile3;
15654 ushort type2 = tile3.type;
15655 if (num == 0)
15656 {
15657 }
15658 int num9 = 1;
15659 WorldGen.SquareTileFrame(0, i, num9 != 0);
15660 int num10 = 1;
15661 WorldGen.SquareTileFrame(0, i, num10 != 0);
15662 int num11 = 1;
15663 WorldGen.SquareTileFrame(0, i, num11 != 0);
15664 if (num == 0)
15665 {
15666 }
15667 bool netHost = Main.NetHost;
15668 if (num == 0)
15669 {
15670 }
15671 return false;
15672 }
15673 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Tile.ClearTile(), j__TPar, System.L, Terraria.Main.NetHost, Terraria.WorldGen.PlaceJunglePlant(), Terraria.WorldGen.SquareTileFrame(), and Terraria.Tile.type.

Referenced by Terraria.WorldGen.GeneratePlanteraBulbOnAllMechsDefeated().