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
FastRandom.cs
Go to the documentation of this file.
1using System;
13
14namespace Terraria.Utilities
15{
16 [global::Cpp2ILInjected.Token(Token = "0x20004F8")]
17 public struct FastRandom
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x17000614")]
20 public ulong Seed
21 {
23 [global::Cpp2ILInjected.Token(Token = "0x60030C1")]
24 [global::Cpp2ILInjected.Address(RVA = "0x13006BC", Offset = "0x13006BC", Length = "0x8")]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 readonly get
27 {
28 throw null;
29 }
31 [global::Cpp2ILInjected.Token(Token = "0x60030C2")]
32 [global::Cpp2ILInjected.Address(RVA = "0x13006C4", Offset = "0x13006C4", Length = "0x8")]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 private set
35 {
36 throw null;
37 }
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x60030C3")]
41 [global::Cpp2ILInjected.Address(RVA = "0x13006CC", Offset = "0x13006CC", Length = "0x8")]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 public FastRandom(ulong seed)
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x60030C4")]
49 [global::Cpp2ILInjected.Address(RVA = "0x13006D4", Offset = "0x13006D4", Length = "0xC")]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraniteBiome), Member = "PlaceDecorations", MemberParameters = new object[]
51 {
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertHive), Member = "PlaceClustersArea", MemberParameters = new object[]
56 {
58 "Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup",
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Spawn", MemberParameters = new object[]
64 {
67 typeof(int)
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
70 public FastRandom(int seed)
71 {
72 throw null;
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x60030C5")]
76 [global::Cpp2ILInjected.Address(RVA = "0x13006E0", Offset = "0x13006E0", Length = "0x24")]
77 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraniteBiome), Member = "PlaceDecorations", MemberParameters = new object[]
79 {
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertHive), Member = "PlaceClustersArea", MemberParameters = new object[]
84 {
86 "Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup",
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x60030C6")]
98 [global::Cpp2ILInjected.Address(RVA = "0x1300720", Offset = "0x1300720", Length = "0x40")]
99 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
101 {
102 typeof(int),
103 typeof(int),
104 typeof(int),
105 typeof(int),
106 typeof(int),
107 typeof(int),
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileLight", MemberParameters = new object[]
111 {
112 typeof(int),
113 typeof(int),
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraniteBiome), Member = "PlaceDecorations", MemberParameters = new object[]
117 {
118 typeof(Point),
120 }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertHive), Member = "PlaceClustersArea", MemberParameters = new object[]
122 {
124 "Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup",
128 }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
130 public FastRandom WithModifier(int x, int y)
131 {
132 throw null;
133 }
134
135 [global::Cpp2ILInjected.Token(Token = "0x60030C7")]
136 [global::Cpp2ILInjected.Address(RVA = "0x1300760", Offset = "0x1300760", Length = "0x30")]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "ResetWindCounter", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Star), Member = "SpawnStars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightMap), Member = ".ctor", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = ".ctor", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Guid), Member = "NewGuid", ReturnType = typeof(Guid))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Guid), Member = "GetHashCode", ReturnType = typeof(int))]
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x60030C8")]
150 [global::Cpp2ILInjected.Address(RVA = "0x1300790", Offset = "0x1300790", Length = "0x24")]
151 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessArea", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessBlur2", ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightMap), Member = "BlurPass2", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightMap), Member = "Blur", ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "Update", ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
158 public void NextSeed()
159 {
160 throw null;
161 }
162
163 [global::Cpp2ILInjected.Token(Token = "0x60030C9")]
164 [global::Cpp2ILInjected.Address(RVA = "0x13007B4", Offset = "0x13007B4", Length = "0x34")]
165 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
166 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
167 private int NextBits(int bits)
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x60030CA")]
173 [global::Cpp2ILInjected.Address(RVA = "0x13007E8", Offset = "0x13007E8", Length = "0x38")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.ButterfliesSkyEntity", Member = ".ctor", MemberParameters = new object[]
176 {
177 typeof(Player),
179 }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.LostKiteSkyEntity", Member = ".ctor", MemberParameters = new object[]
181 {
182 typeof(Player),
184 }, ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.PegasusSkyEntity", Member = ".ctor", MemberParameters = new object[]
186 {
187 typeof(Player),
188 typeof(FastRandom)
189 }, ReturnType = typeof(void))]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.VultureSkyEntity", Member = ".ctor", MemberParameters = new object[]
191 {
192 typeof(Player),
193 typeof(FastRandom)
194 }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.PixiePosseSkyEntity", Member = ".ctor", MemberParameters = new object[]
196 {
197 typeof(Player),
198 typeof(FastRandom)
199 }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BirdsPackSkyEntity", Member = ".ctor", MemberParameters = new object[]
201 {
202 typeof(Player),
203 typeof(FastRandom)
204 }, ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
206 {
207 typeof(Player),
208 typeof(FastRandom)
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
211 {
212 typeof(Player),
213 typeof(FastRandom)
215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.GastropodGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
216 {
217 typeof(Player),
218 typeof(FastRandom)
219 }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.GastropodGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
221 {
222 typeof(Player),
223 typeof(FastRandom)
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
226 {
227 typeof(Player),
228 typeof(FastRandom)
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
231 {
232 typeof(Player),
233 typeof(FastRandom)
235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = ".ctor", MemberParameters = new object[]
236 {
237 typeof(Player),
238 typeof(FastRandom)
239 }, ReturnType = typeof(void))]
240 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
241 {
242 typeof(Player),
243 typeof(FastRandom)
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
246 {
247 typeof(Player),
248 typeof(FastRandom)
249 }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
251 {
252 typeof(Player),
253 typeof(FastRandom)
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.WyvernSkyEntity", Member = ".ctor", MemberParameters = new object[]
256 {
257 typeof(Player),
258 typeof(FastRandom)
259 }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirshipSkyEntity", Member = ".ctor", MemberParameters = new object[]
261 {
262 typeof(Player),
263 typeof(FastRandom)
264 }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirBalloonSkyEntity", Member = ".ctor", MemberParameters = new object[]
266 {
267 typeof(Player),
268 typeof(FastRandom)
269 }, ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = ".ctor", MemberParameters = new object[]
271 {
272 typeof(Player),
273 typeof(FastRandom)
274 }, ReturnType = typeof(void))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = "BeginZigZag", MemberParameters = new object[]
276 {
277 typeof(ref FastRandom),
279 typeof(int)
280 }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = "BeginChasingPlayer", MemberParameters = new object[]
282 {
283 typeof(ref FastRandom),
285 }, ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.MeteorSkyEntity", Member = ".ctor", MemberParameters = new object[]
287 {
288 typeof(Player),
289 typeof(FastRandom)
290 }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 84)]
292 public float NextFloat()
293 {
294 throw null;
295 }
296
297 [global::Cpp2ILInjected.Token(Token = "0x60030CB")]
298 [global::Cpp2ILInjected.Address(RVA = "0x1300820", Offset = "0x1300820", Length = "0x3C")]
299 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
300 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertHive), Member = "PlaceClustersArea", MemberParameters = new object[]
301 {
303 "Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup",
307 }, ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
309 public double NextDouble()
310 {
311 throw null;
312 }
313
314 [global::Cpp2ILInjected.Token(Token = "0x60030CC")]
315 [global::Cpp2ILInjected.Address(RVA = "0x130085C", Offset = "0x130085C", Length = "0x74")]
316 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
317 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Star), Member = "SpawnStars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
318 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[]
319 {
320 typeof(int),
321 typeof(int)
322 }, ReturnType = typeof(int))]
323 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GraniteBiome), Member = "PlaceDecorations", MemberParameters = new object[]
324 {
325 typeof(Point),
327 }, ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertHive), Member = "PlaceClustersArea", MemberParameters = new object[]
329 {
331 "Terraria.GameContent.Biomes.Desert.DesertHive.ClusterGroup",
335 }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.ButterfliesSkyEntity", Member = ".ctor", MemberParameters = new object[]
337 {
338 typeof(Player),
339 typeof(FastRandom)
340 }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.LostKiteSkyEntity", Member = ".ctor", MemberParameters = new object[]
342 {
343 typeof(Player),
344 typeof(FastRandom)
345 }, ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
347 {
348 typeof(Player),
349 typeof(FastRandom)
350 }, ReturnType = typeof(void))]
351 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
352 {
353 typeof(Player),
354 typeof(FastRandom)
356 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.GastropodGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
357 {
358 typeof(Player),
359 typeof(FastRandom)
361 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
362 {
363 typeof(Player),
364 typeof(FastRandom)
365 }, ReturnType = typeof(void))]
366 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
367 {
368 typeof(Player),
369 typeof(FastRandom)
371 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = ".ctor", MemberParameters = new object[]
372 {
373 typeof(Player),
374 typeof(FastRandom)
375 }, ReturnType = typeof(void))]
376 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
377 {
378 typeof(Player),
379 typeof(FastRandom)
381 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
382 {
383 typeof(Player),
384 typeof(FastRandom)
385 }, ReturnType = typeof(void))]
386 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
387 {
388 typeof(Player),
389 typeof(FastRandom)
391 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirshipSkyEntity", Member = ".ctor", MemberParameters = new object[]
392 {
393 typeof(Player),
394 typeof(FastRandom)
395 }, ReturnType = typeof(void))]
396 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirBalloonSkyEntity", Member = ".ctor", MemberParameters = new object[]
397 {
398 typeof(Player),
399 typeof(FastRandom)
400 }, ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = ".ctor", MemberParameters = new object[]
402 {
403 typeof(Player),
404 typeof(FastRandom)
405 }, ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.MeteorSkyEntity", Member = ".ctor", MemberParameters = new object[]
407 {
408 typeof(Player),
409 typeof(FastRandom)
410 }, ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 33)]
412 public int Next(int max)
413 {
414 throw null;
415 }
416
417 [global::Cpp2ILInjected.Token(Token = "0x60030CD")]
418 [global::Cpp2ILInjected.Address(RVA = "0x13008D0", Offset = "0x13008D0", Length = "0x1C")]
419 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "ResetWindCounter", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
420 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Star), Member = "SpawnStars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
421 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
422 {
423 typeof(int),
424 typeof(int),
425 typeof(int),
426 typeof(int),
427 typeof(int),
428 typeof(int),
430 }, ReturnType = typeof(void))]
431 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ApplyWallLight", MemberParameters = new object[]
432 {
433 typeof(Tile),
434 typeof(int),
435 typeof(int),
436 typeof(ref FastRandom),
438 }, ReturnType = typeof(void))]
439 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ApplyTileLight", MemberParameters = new object[]
440 {
441 typeof(Tile),
442 typeof(int),
443 typeof(int),
444 typeof(ref FastRandom),
446 }, ReturnType = typeof(void))]
447 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.ButterfliesSkyEntity", Member = ".ctor", MemberParameters = new object[]
448 {
449 typeof(Player),
450 typeof(FastRandom)
451 }, ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.LostKiteSkyEntity", Member = ".ctor", MemberParameters = new object[]
453 {
454 typeof(Player),
455 typeof(FastRandom)
456 }, ReturnType = typeof(void))]
457 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.PegasusSkyEntity", Member = ".ctor", MemberParameters = new object[]
458 {
459 typeof(Player),
460 typeof(FastRandom)
461 }, ReturnType = typeof(void))]
462 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.VultureSkyEntity", Member = ".ctor", MemberParameters = new object[]
463 {
464 typeof(Player),
465 typeof(FastRandom)
466 }, ReturnType = typeof(void))]
467 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.PixiePosseSkyEntity", Member = ".ctor", MemberParameters = new object[]
468 {
469 typeof(Player),
470 typeof(FastRandom)
471 }, ReturnType = typeof(void))]
472 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BirdsPackSkyEntity", Member = ".ctor", MemberParameters = new object[]
473 {
474 typeof(Player),
475 typeof(FastRandom)
476 }, ReturnType = typeof(void))]
477 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
478 {
479 typeof(Player),
480 typeof(FastRandom)
481 }, ReturnType = typeof(void))]
482 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
483 {
484 typeof(Player),
485 typeof(FastRandom)
487 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.GastropodGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
488 {
489 typeof(Player),
490 typeof(FastRandom)
491 }, ReturnType = typeof(void))]
492 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.GastropodGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
493 {
494 typeof(Player),
495 typeof(FastRandom)
497 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
498 {
499 typeof(Player),
500 typeof(FastRandom)
501 }, ReturnType = typeof(void))]
502 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
503 {
504 typeof(Player),
505 typeof(FastRandom)
507 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = ".ctor", MemberParameters = new object[]
508 {
509 typeof(Player),
510 typeof(FastRandom)
511 }, ReturnType = typeof(void))]
512 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
513 {
514 typeof(Player),
515 typeof(FastRandom)
517 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
518 {
519 typeof(Player),
520 typeof(FastRandom)
521 }, ReturnType = typeof(void))]
522 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = "CreateGroup", MemberParameters = new object[]
523 {
524 typeof(Player),
525 typeof(FastRandom)
527 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.WyvernSkyEntity", Member = ".ctor", MemberParameters = new object[]
528 {
529 typeof(Player),
530 typeof(FastRandom)
531 }, ReturnType = typeof(void))]
532 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirshipSkyEntity", Member = ".ctor", MemberParameters = new object[]
533 {
534 typeof(Player),
535 typeof(FastRandom)
536 }, ReturnType = typeof(void))]
537 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirBalloonSkyEntity", Member = ".ctor", MemberParameters = new object[]
538 {
539 typeof(Player),
540 typeof(FastRandom)
541 }, ReturnType = typeof(void))]
542 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = "BeginZigZag", MemberParameters = new object[]
543 {
544 typeof(ref FastRandom),
546 typeof(int)
547 }, ReturnType = typeof(void))]
548 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = "BeginChasingPlayer", MemberParameters = new object[]
549 {
550 typeof(ref FastRandom),
552 }, ReturnType = typeof(void))]
553 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.MeteorSkyEntity", Member = ".ctor", MemberParameters = new object[]
554 {
555 typeof(Player),
556 typeof(FastRandom)
557 }, ReturnType = typeof(void))]
558 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 68)]
559 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
560 public int Next(int min, int max)
561 {
562 throw null;
563 }
564
565 [global::Cpp2ILInjected.Token(Token = "0x60030CE")]
566 [global::Cpp2ILInjected.Address(RVA = "0x1300704", Offset = "0x1300704", Length = "0x1C")]
567 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
568 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
569 private static ulong NextSeed(ulong seed)
570 {
571 throw null;
572 }
573
574 [global::Cpp2ILInjected.Token(Token = "0x4003AC8")]
575 public const ulong RANDOM_MULTIPLIER = 25214903917UL;
576
577 [global::Cpp2ILInjected.Token(Token = "0x4003AC9")]
578 public const ulong RANDOM_ADD = 11UL;
579
580 [global::Cpp2ILInjected.Token(Token = "0x4003ACA")]
581 public const ulong RANDOM_MASK = 281474976710655UL;
582
584 [global::Cpp2ILInjected.Token(Token = "0x4003ACB")]
585 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
586 private ulong <Seed>k__BackingField;
587 }
588}
class f__AnonymousType0<< Count > j__TPar
static FastRandom CreateWithRandomSeed()
static ulong NextSeed(ulong seed)
FastRandom WithModifier(int x, int y)
FastRandom WithModifier(ulong modifier)
Definition FastRandom.cs:92
int Next(int min, int max)