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
DunesBiome.cs
Go to the documentation of this file.
1using System;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x20008EA")]
15 public class DunesBiome : MicroBiome
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x170007EB")]
18 public int MaximumWidth
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x60045F8")]
21 [global::Cpp2ILInjected.Address(RVA = "0x7C6D60", Offset = "0x7C6D60", Length = "0x1C")]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGenRange), Member = "get_ScaledMaximum", ReturnType = typeof(int))]
24 get
25 {
26 throw null;
27 }
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x60045F9")]
31 [global::Cpp2ILInjected.Address(RVA = "0x7C6D7C", Offset = "0x7C6D7C", Length = "0x18C")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
36 {
37 typeof(int),
38 typeof(int)
39 }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGenRange), Member = "GetRandom", MemberParameters = new object[] { typeof(UnifiedRandom) }, ReturnType = typeof(int))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
42 {
43 typeof(int),
44 typeof(int)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DunesBiome.DunesDescription), Member = "CreateFromPlacement", MemberParameters = new object[]
47 {
49 typeof(int),
50 typeof(int)
51 }, ReturnType = typeof(DunesBiome.DunesDescription))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DunesBiome), Member = "PlaceSingle", MemberParameters = new object[]
53 {
56 }, ReturnType = typeof(void))]
57 public override bool Place(Point origin, StructureMap structures)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60045FA")]
63 [global::Cpp2ILInjected.Address(RVA = "0x7C701C", Offset = "0x7C701C", Length = "0x26C")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "Place", MemberParameters = new object[]
66 {
69 }, ReturnType = typeof(bool))]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
74 {
75 typeof(int),
76 typeof(int)
77 }, ReturnType = typeof(int))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DunesBiome), Member = "PlaceHill", MemberParameters = new object[]
79 {
80 typeof(int),
81 typeof(int),
82 typeof(double),
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Center", ReturnType = typeof(Point))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StructureMap), Member = "AddStructure", MemberParameters = new object[]
87 {
89 typeof(int)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
92 private void PlaceSingle(DunesBiome.DunesDescription description, StructureMap structures)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x60045FB")]
98 [global::Cpp2ILInjected.Address(RVA = "0x7C7288", Offset = "0x7C7288", Length = "0x218")]
99 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "PlaceSingle", MemberParameters = new object[]
101 {
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SurfaceMap), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(short))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
108 {
109 typeof(int),
110 typeof(int)
111 }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "get_genRand", ReturnType = typeof(UnifiedRandom))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
114 {
115 typeof(int),
116 typeof(int)
117 }, ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DunesBiome), Member = "PlaceCurvedLine", MemberParameters = new object[]
119 {
120 typeof(Point),
121 typeof(Point),
122 typeof(Point),
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
126 private static void PlaceHill(int startX, int endX, double scale, DunesBiome.DunesDescription description)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x60045FC")]
132 [global::Cpp2ILInjected.Address(RVA = "0x7C74A0", Offset = "0x7C74A0", Length = "0x4D4")]
133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "PlaceHill", MemberParameters = new object[]
135 {
136 typeof(int),
137 typeof(int),
138 typeof(double),
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
143 {
144 typeof(int),
145 typeof(int)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToVector2D", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(Vector2D))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2D), Member = "Lerp", MemberParameters = new object[]
149 {
152 typeof(double)
153 }, ReturnType = typeof(Vector2D))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2D) }, ReturnType = typeof(Point))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = "op_Equality", MemberParameters = new object[]
156 {
157 typeof(Point),
159 }, ReturnType = typeof(bool))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Center", ReturnType = typeof(Point))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SurfaceMap), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(short))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
163 {
164 typeof(int),
165 typeof(int)
166 }, ReturnType = typeof(Tile))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "ClearEverything", ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "ResetToType", MemberParameters = new object[] { typeof(ushort) }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "SmoothSlope", MemberParameters = new object[]
172 {
173 typeof(int),
174 typeof(int),
175 typeof(bool),
176 typeof(bool)
177 }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
179 private static void PlaceCurvedLine(Point startPoint, Point endPoint, Point anchorOffset, DunesBiome.DunesDescription description)
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x60045FD")]
185 [global::Cpp2ILInjected.Address(RVA = "0x7C7974", Offset = "0x7C7974", Length = "0x6C")]
186 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MicroBiome), Member = ".ctor", ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
189 public DunesBiome()
190 {
191 throw null;
192 }
193
194 [JsonProperty("SingleDunesWidth")]
195 [global::Cpp2ILInjected.Token(Token = "0x4008250")]
196 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
198
199 [JsonProperty("HeightScale")]
200 [global::Cpp2ILInjected.Token(Token = "0x4008251")]
201 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
202 private double _heightScale;
203
204 [global::Cpp2ILInjected.Token(Token = "0x20008EB")]
205 private class DunesDescription
206 {
207 [global::Cpp2ILInjected.Token(Token = "0x170007EC")]
208 public bool IsValid
209 {
211 [global::Cpp2ILInjected.Token(Token = "0x60045FE")]
212 [global::Cpp2ILInjected.Address(RVA = "0x7C79E0", Offset = "0x7C79E0", Length = "0x8")]
213 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
214 get
215 {
216 throw null;
217 }
219 [global::Cpp2ILInjected.Token(Token = "0x60045FF")]
220 [global::Cpp2ILInjected.Address(RVA = "0x7C79E8", Offset = "0x7C79E8", Length = "0xC")]
221 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
222 private set
223 {
224 throw null;
225 }
226 }
227
228 [global::Cpp2ILInjected.Token(Token = "0x170007ED")]
230 {
232 [global::Cpp2ILInjected.Token(Token = "0x6004600")]
233 [global::Cpp2ILInjected.Address(RVA = "0x7C79F4", Offset = "0x7C79F4", Length = "0x8")]
234 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
235 get
236 {
237 throw null;
238 }
240 [global::Cpp2ILInjected.Token(Token = "0x6004601")]
241 [global::Cpp2ILInjected.Address(RVA = "0x7C79FC", Offset = "0x7C79FC", Length = "0x8")]
242 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
243 private set
244 {
245 throw null;
246 }
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x170007EE")]
251 {
253 [global::Cpp2ILInjected.Token(Token = "0x6004602")]
254 [global::Cpp2ILInjected.Address(RVA = "0x7C7A04", Offset = "0x7C7A04", Length = "0xC")]
255 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
256 get
257 {
258 throw null;
259 }
261 [global::Cpp2ILInjected.Token(Token = "0x6004603")]
262 [global::Cpp2ILInjected.Address(RVA = "0x7C7A10", Offset = "0x7C7A10", Length = "0x8")]
263 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
264 private set
265 {
266 throw null;
267 }
268 }
269
270 [global::Cpp2ILInjected.Token(Token = "0x170007EF")]
272 {
274 [global::Cpp2ILInjected.Token(Token = "0x6004604")]
275 [global::Cpp2ILInjected.Address(RVA = "0x7C7A18", Offset = "0x7C7A18", Length = "0x8")]
276 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
277 get
278 {
279 throw null;
280 }
282 [global::Cpp2ILInjected.Token(Token = "0x6004605")]
283 [global::Cpp2ILInjected.Address(RVA = "0x7C7A20", Offset = "0x7C7A20", Length = "0x8")]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
285 private set
286 {
287 throw null;
288 }
289 }
290
291 [global::Cpp2ILInjected.Token(Token = "0x6004606")]
292 [global::Cpp2ILInjected.Address(RVA = "0x7C7A28", Offset = "0x7C7A28", Length = "0x8")]
293 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
296 {
297 throw null;
298 }
299
300 [global::Cpp2ILInjected.Token(Token = "0x6004607")]
301 [global::Cpp2ILInjected.Address(RVA = "0x7C6F08", Offset = "0x7C6F08", Length = "0x114")]
302 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
303 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "Place", MemberParameters = new object[]
304 {
305 typeof(Point),
307 }, ReturnType = typeof(bool))]
308 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
310 {
311 typeof(int),
312 typeof(int),
313 typeof(int),
314 typeof(int)
315 }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SurfaceMap), Member = "FromArea", MemberParameters = new object[]
318 {
319 typeof(int),
320 typeof(int)
321 }, ReturnType = typeof(SurfaceMap))]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "get_genRand", ReturnType = typeof(UnifiedRandom))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
325 public static DunesBiome.DunesDescription CreateFromPlacement(Point origin, int width, int height)
326 {
327 throw null;
328 }
329
331 [global::Cpp2ILInjected.Token(Token = "0x4008252")]
332 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
333 private bool <IsValid>k__BackingField;
334
336 [global::Cpp2ILInjected.Token(Token = "0x4008253")]
337 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
338 private SurfaceMap <Surface>k__BackingField;
339
341 [global::Cpp2ILInjected.Token(Token = "0x4008254")]
342 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
343 private Rectangle <Area>k__BackingField;
344
346 [global::Cpp2ILInjected.Token(Token = "0x4008255")]
347 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
349 }
350
351 [global::Cpp2ILInjected.Token(Token = "0x20008EC")]
352 private enum WindDirection
353 {
354 [global::Cpp2ILInjected.Token(Token = "0x4008257")]
355 Left,
356 [global::Cpp2ILInjected.Token(Token = "0x4008258")]
357 Right
358 }
359 }
360}
class f__AnonymousType0<< Count > j__TPar
DunesBiome.WindDirection< WindDirection > k__BackingField
static DunesBiome.DunesDescription CreateFromPlacement(Point origin, int width, int height)
void PlaceSingle(DunesBiome.DunesDescription description, StructureMap structures)
Definition DunesBiome.cs:92
static void PlaceCurvedLine(Point startPoint, Point endPoint, Point anchorOffset, DunesBiome.DunesDescription description)
static void PlaceHill(int startX, int endX, double scale, DunesBiome.DunesDescription description)
override bool Place(Point origin, StructureMap structures)
Definition DunesBiome.cs:57