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

◆ Place()

override bool Terraria.GameContent.Biomes.EnchantedSwordBiome.Place ( Point origin,
StructureMap structures )
inline

Definition at line 13 of file EnchantedSwordBiome.cs.

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 }
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom _random
Definition GenBase.cs:13

References Terraria.WorldBuilding.GenBase._random, j__TPar, System.L, Terraria.Utilities.UnifiedRandom.NextDouble(), Terraria.WorldBuilding.GenCondition.Not(), and Terraria.WorldGen.PlaceTile().