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

◆ GrowDungeonTree_MakePassage()

static void Terraria.WorldGen.GrowDungeonTree_MakePassage ( int j,
int W,
int minl,
int minr,
bool noSecretRoom = false )
inlinestaticprivate

Definition at line 4515 of file WorldGen.cs.

4516 {
4517 UnifiedRandom genRand = WorldGen.genRand;
4518 int num = 5;
4519 int num2 = 16;
4520 int num3 = genRand.Next(num, num2);
4521 if (!true)
4522 {
4523 }
4524 Tile tile;
4525 ushort type = tile.type;
4526 Tile tile2;
4527 ushort type2 = tile2.type;
4528 Tile tile3;
4529 ushort type3 = tile3.type;
4530 Tile tile4;
4531 ushort type4 = tile4.type;
4532 Tile tile5;
4533 ushort type5 = tile5.type;
4534 Tile tile6;
4535 ushort type6 = tile6.type;
4536 Tile tile7;
4537 ushort type7 = tile7.type;
4538 Tile tile8;
4539 ushort type8 = tile8.type;
4540 Tile tile9;
4541 ushort type9 = tile9.type;
4542 Tile tile10;
4543 ushort type10 = tile10.type;
4544 long num4 = 0L;
4545 Tile tile11;
4546 tile11.active(num4 != 0L);
4547 Tile tile12;
4548 ushort wall = tile12.wall;
4549 int num5 = 244;
4550 Tile tile13;
4551 tile13.wall = (ushort)num5;
4552 Tile tile14;
4553 ushort wall2 = tile14.wall;
4554 Tile tile15;
4555 ushort wall3 = tile15.wall;
4556 int num6 = 244;
4557 Tile tile16;
4558 tile16.wall = (ushort)num6;
4559 Tile tile17;
4560 ushort wall4 = tile17.wall;
4561 Tile tile18;
4562 ushort wall5 = tile18.wall;
4563 int num7 = 244;
4564 Tile tile19;
4565 tile19.wall = (ushort)num7;
4566 long num8 = 0L;
4567 Tile tile20;
4568 tile20.active(num8 != 0L);
4569 }
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom genRand
Definition WorldGen.cs:38

References Terraria.Tile.active(), Terraria.WorldGen.genRand, j__TPar, System.L, Terraria.Utilities.UnifiedRandom.Next(), Terraria.Tile.type, and Terraria.Tile.wall.