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
EnchantedSwordBiome.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020008ED RID: 2285
11 {
12 // Token: 0x06004608 RID: 17928 RVA: 0x00256ADC File Offset: 0x00254CDC
13 public override bool Place(Point origin, StructureMap structures)
14 {
17 if (genCondition == null || genCondition != null)
18 {
20 double num = random.NextDouble();
23 if ((genAction == null || genAction != null) && (genAction2 == null || genAction2 != null))
24 {
25 long num2 = 0L;
26 double num3 = GenBase._random.NextDouble();
29 if ((genAction3 == null || genAction3 != null) && (genAction4 == null || genAction4 != null))
30 {
32 long num4 = 0L;
33 double num5 = random2.NextDouble();
34 int num6 = 187;
35 int num7 = 1;
36 int num8 = 17;
37 long num9 = 0L;
38 bool flag = WorldGen.PlaceTile(0, (int)num4, num6, num7 != 0, num9 != 0L, (int)num2, num8);
39 }
40 }
41 }
43 }
44
45 // Token: 0x06004609 RID: 17929 RVA: 0x00256C50 File Offset: 0x00254E50
47 {
48 }
49
50 // Token: 0x04008259 RID: 33369
51 [JsonProperty("ChanceOfEntrance")]
52 private double _chanceOfEntrance;
53
54 // Token: 0x0400825A RID: 33370
55 [JsonProperty("ChanceOfRealSword")]
56 private double _chanceOfRealSword;
57 }
58}
class f__AnonymousType0<< Count > j__TPar
override bool Place(Point origin, StructureMap structures)
static UnifiedRandom _random
Definition GenBase.cs:13
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)