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
ChambersEntrance.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020008FE RID: 2302
10 public static class ChambersEntrance
11 {
12 // Token: 0x06004654 RID: 18004 RVA: 0x00259048 File Offset: 0x00257248
13 public static void Place(DesertDescription description)
14 {
15 int x = description.<Desert>k__BackingField.X;
16 long num = 0L;
18 int num2 = 41;
19 int num3 = genRand.Next((int)num, num2);
20 SurfaceMap <Surface>k__BackingField = description.<Surface>k__BackingField;
21 int x2 = <Surface>k__BackingField.X;
22 short[] heights = <Surface>k__BackingField._heights;
23 }
24
25 // Token: 0x06004655 RID: 18005 RVA: 0x00259098 File Offset: 0x00257298
26 private static void PlaceAt(DesertDescription description, Point position)
27 {
29 if (genAction == null || genAction != null)
30 {
32 int y = description.<Hive>k__BackingField.Y;
33 int num = 2;
34 int num2 = genRand.Next(num);
35 return;
36 }
38 }
39
40 // Token: 0x020008FF RID: 2303
41 private struct PathConnection
42 {
43 // Token: 0x06004656 RID: 18006 RVA: 0x002591F0 File Offset: 0x002573F0
44 public PathConnection(Point position, int direction)
45 {
46 }
47
48 // Token: 0x04008272 RID: 33394
50
51 // Token: 0x04008273 RID: 33395
52 public readonly double Direction;
53 }
54 }
55}
class f__AnonymousType0<< Count > j__TPar
static void Place(DesertDescription description)
static void PlaceAt(DesertDescription description, Point position)
static UnifiedRandom genRand
Definition WorldGen.cs:38