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
PassLegacy.cs
Go to the documentation of this file.
1using System;
5using Terraria.IO;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x20008D6")]
11 public class PassLegacy : GenPass
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600459F")]
14 [global::Cpp2ILInjected.Address(RVA = "0x7BCA90", Offset = "0x7BCA90", Length = "0x80")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "AddGenerationPass", MemberParameters = new object[]
17 {
18 typeof(string),
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PassLegacy), Member = "GetWeight", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(float))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenPass), Member = ".ctor", MemberParameters = new object[]
24 {
25 typeof(string),
26 typeof(double)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
29 public PassLegacy(string name, WorldGenLegacyMethod method)
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x60045A0")]
35 [global::Cpp2ILInjected.Address(RVA = "0x7BCBB4", Offset = "0x7BCBB4", Length = "0x28")]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "AddGenerationPass", MemberParameters = new object[]
37 {
38 typeof(string),
39 typeof(double),
41 }, ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenPass), Member = ".ctor", MemberParameters = new object[]
44 {
45 typeof(string),
46 typeof(double)
47 }, ReturnType = typeof(void))]
48 public PassLegacy(string name, WorldGenLegacyMethod method, double weight)
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x60045A1")]
54 [global::Cpp2ILInjected.Address(RVA = "0x7BCB10", Offset = "0x7BCB10", Length = "0xA4")]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PassLegacy), Member = ".ctor", MemberParameters = new object[]
56 {
57 typeof(string),
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, float>), Member = "TryGetValue", MemberParameters = new object[]
62 {
63 typeof(object),
64 typeof(ref float)
65 }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
67 private static float GetWeight(string name)
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x60045A2")]
73 [global::Cpp2ILInjected.Address(RVA = "0x7BCBDC", Offset = "0x7BCBDC", Length = "0x14")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
76 protected override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
77 {
78 throw null;
79 }
80
81 // Note: this type is marked as 'beforefieldinit'.
82 [global::Cpp2ILInjected.Token(Token = "0x60045A3")]
83 [global::Cpp2ILInjected.Address(RVA = "0x7BCBF0", Offset = "0x7BCBF0", Length = "0x1DE0")]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, float>), Member = ".ctor", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, float>), Member = "Add", MemberParameters = new object[]
87 {
88 typeof(object),
89 typeof(float)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 109)]
92 static PassLegacy()
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x4008208")]
99
100 [global::Cpp2ILInjected.Token(Token = "0x4008209")]
102
103 [global::Cpp2ILInjected.Token(Token = "0x400820A")]
104 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
106 }
107}
class f__AnonymousType0<< Count > j__TPar
PassLegacy(string name, WorldGenLegacyMethod method)
Definition PassLegacy.cs:29
static readonly Dictionary< string, float > _weightMap_135
Definition PassLegacy.cs:98
static float GetWeight(string name)
Definition PassLegacy.cs:67
override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
Definition PassLegacy.cs:76
PassLegacy(string name, WorldGenLegacyMethod method, double weight)
Definition PassLegacy.cs:48
static readonly Dictionary< string, float > _weightMap
readonly WorldGenLegacyMethod _method
delegate void WorldGenLegacyMethod(GenerationProgress progress, GameConfiguration configuration)