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
MiningExplosivesBiome.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x020008F8 RID: 2296
10 {
11 // Token: 0x06004643 RID: 17987 RVA: 0x00258408 File Offset: 0x00256608
12 public override bool Place(Point origin, StructureMap structures)
13 {
14 int num = 1;
15 if (num == 0)
16 {
17 }
18 if (num == 0)
19 {
20 }
21 Tile tile;
22 ushort wall = tile.wall;
23 if (num == 0)
24 {
25 }
26 Tile tile2;
27 ushort wall2 = tile2.wall;
29 int num2 = 166;
30 if (7 == 0)
31 {
32 }
33 double num3 = GenBase._random.NextDouble();
34 long num4 = 0L;
36 int num5 = 4;
37 int num6 = random2.Next(num5);
38 if (!true)
39 {
40 }
41 long num7 = 0L;
42 Tile tile3;
43 tile3.slope((byte)num7);
44 long num8 = 0L;
45 tile3.halfBrick(num8 != 0L);
46 if (num2 == 0)
47 {
48 }
49 long num9 = 0L;
50 int num10 = 1;
51 bool flag;
52 WorldUtils.TileFrame(flag ? 1 : 0, (int)num9, num10 != 0);
53 int num11 = 411;
54 int num12 = 1;
55 int num13 = 1;
56 long num14 = 0L;
57 bool flag3;
58 bool flag2 = WorldGen.PlaceTile(flag3 ? 1 : 0, int.MinValue, num11, num12 != 0, num13 != 0, (int)num4, (int)num14);
60 }
61
62 // Token: 0x06004644 RID: 17988 RVA: 0x00258524 File Offset: 0x00256724
64 {
65 }
66 }
67}
class f__AnonymousType0<< Count > j__TPar
override bool Place(Point origin, StructureMap structures)
static UnifiedRandom _random
Definition GenBase.cs:13
static void TileFrame(int x, int y, bool frameNeighbors=false)
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)
byte slope()
Definition Tile.cs:740
ushort wall
Definition Tile.cs:85