terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
WorldGenerator.cs
Go to the documentation of this file.
1using System;
7using Terraria.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20004EC")]
13 public class WorldGenerator
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6003089")]
16 [global::Cpp2ILInjected.Address(RVA = "0x12FE608", Offset = "0x12FE608", Length = "0x98")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "GenerateWorld", MemberParameters = new object[]
18 {
19 typeof(int),
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
26 public WorldGenerator(int seed, WorldGenConfiguration configuration)
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x600308A")]
32 [global::Cpp2ILInjected.Address(RVA = "0x12FE6A0", Offset = "0x12FE6A0", Length = "0xB0")]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "AddGenerationPass", MemberParameters = new object[]
35 {
36 typeof(string),
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "AddGenerationPass", MemberParameters = new object[] { typeof(GenPass) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "AddGenerationPass", MemberParameters = new object[]
41 {
42 typeof(string),
43 typeof(double),
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
48 public void Append(GenPass pass)
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x600308B")]
54 [global::Cpp2ILInjected.Address(RVA = "0x12FE750", Offset = "0x12FE750", Length = "0x4")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 public static void LogGenSeedAtPoint(string tag)
57 {
58 throw null;
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x600308C")]
62 [global::Cpp2ILInjected.Address(RVA = "0x12FE754", Offset = "0x12FE754", Length = "0x4")]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 public static void SaveWorldAtPoint(string tag)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x600308D")]
70 [global::Cpp2ILInjected.Address(RVA = "0x12FE758", Offset = "0x12FE758", Length = "0x518")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "GenerateWorld", MemberParameters = new object[]
73 {
74 typeof(int),
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = ".ctor", ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenerationProgress), Member = ".ctor", ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Start", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "CheckThreadTerminiate", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGenConfiguration), Member = "GetPassConfiguration", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(GameConfiguration))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Reset", ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "ReleasePointers", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 41)]
92 public void GenerateWorld(GenerationProgress progress = null)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x4003A96")]
98 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
100
101 [global::Cpp2ILInjected.Token(Token = "0x4003A97")]
102 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
103 private double _totalLoadWeight;
104
105 [global::Cpp2ILInjected.Token(Token = "0x4003A98")]
106 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
107 private readonly int _seed;
108
109 [global::Cpp2ILInjected.Token(Token = "0x4003A99")]
110 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
112
113 [global::Cpp2ILInjected.Token(Token = "0x4003A9A")]
115
116 [global::Cpp2ILInjected.Token(Token = "0x4003A9B")]
117 public static bool TerminateWorldGen;
118 }
119}
class f__AnonymousType0<< Count > j__TPar
readonly WorldGenConfiguration _configuration
WorldGenerator(int seed, WorldGenConfiguration configuration)
static void SaveWorldAtPoint(string tag)
static GenerationProgress CurrentGenerationProgress
void GenerateWorld(GenerationProgress progress=null)
static void LogGenSeedAtPoint(string tag)
delegate void WorldGenLegacyMethod(GenerationProgress progress, GameConfiguration configuration)