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

◆ PlaceSlab()

void Terraria.GameContent.Biomes.MarbleBiome.PlaceSlab ( MarbleBiome::Slab slab,
int originX,
int originY,
int scale )
inlineprivate

Definition at line 23 of file MarbleBiome.cs.

24 {
25 int num = 1;
26 if (num == 0)
27 {
28 }
29 int num2 = 180;
30 if (num == 0)
31 {
32 }
33 UnifiedRandom genRand = WorldGen.genRand;
34 int num3 = 2;
35 if (genRand.Next(num3) != 0)
36 {
37 if (num == 0)
38 {
39 }
41 int num4 = 2;
42 int num5 = genRand2.Next(num4);
43 if (num2 == 0)
44 {
45 }
47 int num6 = 2;
48 int num7 = genRand3.Next(num6);
49 if (!true)
50 {
51 }
52 int num8 = 1;
53 ushort num9;
54 WorldUtils.TileFrame((int)num9, (int)num9, num8 != 0);
55 int num10 = 1;
56 WorldGen.SquareWallFrame(0, (int)num9, num10 != 0);
57 int num11 = 1;
58 long num12 = 0L;
59 Tile.SmoothSlope(1073741824, (int)num9, num11 != 0, num12 != 0L);
60 long num13 = 0L;
61 bool flag = WorldGen.SolidTile(1073741824, 0, num13 != 0L);
63 int num14 = 4;
64 if (random.Next(num14) == 0)
65 {
66 if (1073741824 == 0)
67 {
68 }
69 long num15 = 0L;
70 WorldGen.PlaceTight(0, num14, num15 != 0L);
71 }
72 if (1073741824 == 0)
73 {
74 }
75 long num16 = 0L;
76 bool flag2 = WorldGen.SolidTile(0, num14, num16 != 0L);
78 int num17 = 4;
79 if (random2.Next(num17) == 0)
80 {
81 if (1073741824 == 0)
82 {
83 }
84 long num18 = 0L;
85 WorldGen.PlaceTight(0, 0, num18 != 0L);
86 }
87 }
88 }
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom _random
Definition GenBase.cs:13
static void TileFrame(int x, int y, bool frameNeighbors=false)

References Terraria.WorldBuilding.GenBase._random, Terraria.WorldGen.genRand, j__TPar, System.L, Terraria.Utilities.UnifiedRandom.Next(), Terraria.WorldGen.PlaceTight(), Terraria.Tile.SmoothSlope(), Terraria.WorldGen.SolidTile(), Terraria.WorldGen.SquareWallFrame(), and Terraria.WorldBuilding.WorldUtils.TileFrame().