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

◆ DungeonRoom()

static void Terraria.WorldGen.DungeonRoom ( int i,
int j,
ushort tileType,
int wallType )
inlinestatic

Definition at line 7079 of file WorldGen.cs.

7080 {
7081 if (!true)
7082 {
7083 }
7084 UnifiedRandom genRand = WorldGen.genRand;
7085 int num = 15;
7086 int num2 = 30;
7087 int num3 = genRand.Next(num, num2);
7089 int num4 = 11;
7090 int num5 = genRand2.Next(num, num4);
7092 int num6 = 11;
7093 int num7 = genRand3.Next(num, num6);
7095 int num8 = 10;
7096 int num9 = 20;
7097 int num10 = genRand4.Next(num8, num9);
7098 if (33501184 == 0)
7099 {
7100 }
7101 if (33501184 != 0)
7102 {
7103 return;
7104 }
7105 if (33501184 == 0)
7106 {
7107 }
7108 if (33501184 == 0)
7109 {
7110 }
7111 if (33501184 == 0)
7112 {
7113 }
7114 if (33501184 == 0)
7115 {
7116 }
7117 long num11 = 0L;
7118 Tile tile;
7119 tile.liquid = (byte)num11;
7120 ushort wall = tile.wall;
7121 Tile tile2;
7122 tile2.wall = (ushort)wallType;
7123 if (33501184 != 0)
7124 {
7125 return;
7126 }
7127 if (33501184 == 0)
7128 {
7129 }
7130 long num12 = 0L;
7131 Tile tile3;
7132 tile3.active(num12 != 0L);
7133 tile3.wall = (ushort)wallType;
7134 }
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(), and Terraria.Tile.wall.