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
GenBase.cs
Go to the documentation of this file.
1using System;
7using Terraria.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20004A5")]
13 public class GenBase
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x17000600")]
16 protected static UnifiedRandom _random
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6002FC5")]
19 [global::Cpp2ILInjected.Address(RVA = "0x12F5BD0", Offset = "0x12F5BD0", Length = "0x50")]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Modifiers.RadialDither), Member = "Apply", MemberParameters = new object[]
21 {
22 typeof(Point),
23 typeof(int),
24 typeof(int),
25 typeof(object[])
26 }, ReturnType = typeof(bool))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Modifiers.Blotches), Member = "Apply", MemberParameters = new object[]
28 {
29 typeof(Point),
30 typeof(int),
31 typeof(int),
32 typeof(object[])
33 }, ReturnType = typeof(bool))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Modifiers.Dither), Member = "Apply", MemberParameters = new object[]
35 {
36 typeof(Point),
37 typeof(int),
38 typeof(int),
39 typeof(object[])
40 }, ReturnType = typeof(bool))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Passes.ScatterCustom), Member = "ApplyPass", MemberParameters = new object[]
42 {
43 typeof(GenerationProgress),
44 typeof(GameConfiguration)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ActionGrass), Member = "Apply", MemberParameters = new object[]
47 {
49 typeof(int),
50 typeof(int),
51 typeof(object[])
52 }, ReturnType = typeof(bool))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ActionPlaceStatue), Member = "Apply", MemberParameters = new object[]
54 {
56 typeof(int),
57 typeof(int),
58 typeof(object[])
59 }, ReturnType = typeof(bool))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ActionVines), Member = "Apply", MemberParameters = new object[]
61 {
63 typeof(int),
64 typeof(int),
65 typeof(object[])
66 }, ReturnType = typeof(bool))]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeBranch), Member = "Perform", MemberParameters = new object[]
68 {
71 }, ReturnType = typeof(bool))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeRoot), Member = "DoRoot", MemberParameters = new object[]
73 {
76 typeof(double),
77 typeof(double),
78 typeof(double)
79 }, ReturnType = typeof(bool))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeRunner), Member = "Perform", MemberParameters = new object[]
81 {
84 }, ReturnType = typeof(bool))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CampsiteBiome), Member = "Place", MemberParameters = new object[]
86 {
89 }, ReturnType = typeof(bool))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CorruptionPitBiome), Member = "Place", MemberParameters = new object[]
91 {
94 }, ReturnType = typeof(bool))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeadMansChestBiome), Member = "FindBoulderTrapSpots", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeadMansChestBiome), Member = "FindDartTrapSpots", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeadMansChestBiome), Member = "FindExplosiveTrapSpots", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeadMansChestBiome), Member = "TurnGoldChestIntoDeadMansChest", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertBiome), Member = "Place", MemberParameters = new object[]
100 {
101 typeof(Point),
103 }, ReturnType = typeof(bool))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "Place", MemberParameters = new object[]
105 {
106 typeof(Point),
108 }, ReturnType = typeof(bool))]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "PlaceSingle", MemberParameters = new object[]
110 {
111 "Terraria.GameContent.Biomes.DunesBiome.DunesDescription",
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnchantedSwordBiome), Member = "Place", MemberParameters = new object[]
115 {
116 typeof(Point),
118 }, ReturnType = typeof(bool))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
120 {
123 }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "PlaceGemsAt", MemberParameters = new object[]
125 {
126 typeof(int),
127 typeof(int),
128 typeof(ushort),
129 typeof(int)
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "PlaceFirstPassMud", MemberParameters = new object[]
132 {
133 typeof(int),
134 typeof(int),
135 typeof(int)
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyRandomMovement", MemberParameters = new object[]
138 {
139 typeof(ref int),
140 typeof(ref int),
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "GenerateTunnelToSurface", MemberParameters = new object[]
145 {
146 typeof(int),
147 typeof(int)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "GenerateHolesInMudWalls", ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "GenerateFinishingTouches", MemberParameters = new object[]
151 {
153 typeof(int),
154 typeof(int)
155 }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MahoganyTreeBiome), Member = "Place", MemberParameters = new object[]
157 {
158 typeof(Point),
160 }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MarbleBiome), Member = "PlaceSlab", MemberParameters = new object[]
162 {
163 "Terraria.GameContent.Biomes.MarbleBiome.Slab",
164 typeof(int),
165 typeof(int),
166 typeof(int)
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MarbleBiome), Member = "Place", MemberParameters = new object[]
169 {
170 typeof(Point),
172 }, ReturnType = typeof(bool))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiningExplosivesBiome), Member = "Place", MemberParameters = new object[]
174 {
175 typeof(Point),
177 }, ReturnType = typeof(bool))]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TerrainPass), Member = "ApplyPass", MemberParameters = new object[]
179 {
182 }, ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TerrainPass), Member = "GenerateWorldSurfaceOffset", MemberParameters = new object[] { "Terraria.GameContent.Biomes.TerrainPass.TerrainFeatureType" }, ReturnType = typeof(double))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThinIceBiome), Member = "Place", MemberParameters = new object[]
185 {
186 typeof(Point),
188 }, ReturnType = typeof(bool))]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 174)]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "get_genRand", ReturnType = typeof(UnifiedRandom))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
192 get
193 {
194 throw null;
195 }
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x17000601")]
199 protected static TileData _tiles
200 {
201 [global::Cpp2ILInjected.Token(Token = "0x6002FC6")]
202 [global::Cpp2ILInjected.Address(RVA = "0x12F5C20", Offset = "0x12F5C20", Length = "0x58")]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
205 get
206 {
207 throw null;
208 }
209 }
210
211 [global::Cpp2ILInjected.Token(Token = "0x17000602")]
212 protected static int _worldWidth
213 {
214 [global::Cpp2ILInjected.Token(Token = "0x6002FC7")]
215 [global::Cpp2ILInjected.Address(RVA = "0x12F5C78", Offset = "0x12F5C78", Length = "0x58")]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
217 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
218 get
219 {
220 throw null;
221 }
222 }
223
224 [global::Cpp2ILInjected.Token(Token = "0x17000603")]
225 protected static int _worldHeight
226 {
227 [global::Cpp2ILInjected.Token(Token = "0x6002FC8")]
228 [global::Cpp2ILInjected.Address(RVA = "0x12F5CD0", Offset = "0x12F5CD0", Length = "0x58")]
229 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
231 get
232 {
233 throw null;
234 }
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x6002FC9")]
238 [global::Cpp2ILInjected.Address(RVA = "0x12F3F38", Offset = "0x12F3F38", Length = "0x8")]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
241 public GenBase()
242 {
243 throw null;
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x20004A6")]
247 public delegate bool CustomPerUnitAction(int x, int y, params object[] args);
248 }
249}
class f__AnonymousType0<< Count > j__TPar
delegate bool CustomPerUnitAction(int x, int y, params object[] args)
static UnifiedRandom _random
Definition GenBase.cs:17