terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Passes.cs
Go to the documentation of this file.
1using System;
3using Terraria.IO;
5
7{
8 // Token: 0x020004CE RID: 1230
9 public static class Passes
10 {
11 // Token: 0x020004CF RID: 1231
12 public class Clear : GenPass
13 {
14 // Token: 0x06003027 RID: 12327 RVA: 0x001F5B44 File Offset: 0x001F3D44
15 public Clear()
16 {
17 this.Name = "clear";
18 }
19
20 // Token: 0x06003028 RID: 12328 RVA: 0x001F5B64 File Offset: 0x001F3D64
21 protected override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
22 {
23 Tile tile;
24 tile.ClearEverything();
25 }
26 }
27
28 // Token: 0x020004D0 RID: 1232
29 public class ScatterCustom : GenPass
30 {
31 // Token: 0x06003029 RID: 12329 RVA: 0x001F5B80 File Offset: 0x001F3D80
39
40 // Token: 0x0600302A RID: 12330 RVA: 0x001F5BB0 File Offset: 0x001F3DB0
45
46 // Token: 0x0600302B RID: 12331 RVA: 0x001F5BC4 File Offset: 0x001F3DC4
47 protected override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
48 {
49 int count = this._count;
53 IntPtr invoke_impl = perUnit.invoke_impl;
54 IntPtr method_code = perUnit.method_code;
55 IntPtr method = perUnit.method;
56 }
57
58 // Token: 0x040039CC RID: 14796
60
61 // Token: 0x040039CD RID: 14797
62 private int _count;
63 }
64 }
65}
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom _random
Definition GenBase.cs:13
override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
Definition Passes.cs:21
void SetCustomAction(GenBase.CustomPerUnitAction perUnit)
Definition Passes.cs:41
override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
Definition Passes.cs:47
ScatterCustom(string name, double loadWeight, int count, [Optional] GenBase.CustomPerUnitAction perUnit)
Definition Passes.cs:32
GenBase.CustomPerUnitAction _perUnit
Definition Passes.cs:59
void ClearEverything()
Definition Tile.cs:355