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
GenShape.cs
Go to the documentation of this file.
1using System;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x20004D9")]
12 public abstract class GenShape : GenBase
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x600303E")]
15 public abstract bool Perform(Point origin, GenAction action);
16
17 [global::Cpp2ILInjected.Token(Token = "0x600303F")]
18 [global::Cpp2ILInjected.Address(RVA = "0x12F8854", Offset = "0x12F8854", Length = "0x64")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ModShapes.All), Member = "Perform", MemberParameters = new object[]
20 {
21 typeof(Point),
22 typeof(GenAction)
23 }, ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ModShapes.OuterOutline), Member = "Perform", MemberParameters = new object[]
25 {
26 typeof(Point),
27 typeof(GenAction)
28 }, ReturnType = typeof(bool))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ModShapes.InnerOutline), Member = "Perform", MemberParameters = new object[]
30 {
31 typeof(Point),
32 typeof(GenAction)
33 }, ReturnType = typeof(bool))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shapes.Circle), Member = "Perform", MemberParameters = new object[]
35 {
36 typeof(Point),
37 typeof(GenAction)
38 }, ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shapes.HalfCircle), Member = "Perform", MemberParameters = new object[]
40 {
41 typeof(Point),
42 typeof(GenAction)
43 }, ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shapes.Slime), Member = "Perform", MemberParameters = new object[]
45 {
46 typeof(Point),
47 typeof(GenAction)
48 }, ReturnType = typeof(bool))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shapes.Rectangle), Member = "Perform", MemberParameters = new object[]
50 {
51 typeof(Point),
52 typeof(GenAction)
53 }, ReturnType = typeof(bool))]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldBuilding.Shapes.Tail.<>c__DisplayClass3_0", Member = "<Perform>b__0", MemberParameters = new object[]
55 {
56 typeof(int),
57 typeof(int)
58 }, ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shapes.Mound), Member = "Perform", MemberParameters = new object[]
60 {
63 }, ReturnType = typeof(bool))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Generation.ShapeBranch.<>c__DisplayClass5_0", Member = "<PerformSegment>b__0", MemberParameters = new object[]
65 {
66 typeof(int),
67 typeof(int)
68 }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeFloodFill), Member = "Perform", MemberParameters = new object[]
70 {
72 typeof(GenAction)
73 }, ReturnType = typeof(bool))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeRoot), Member = "DoRoot", MemberParameters = new object[]
75 {
77 typeof(GenAction),
78 typeof(double),
79 typeof(double),
80 typeof(double)
81 }, ReturnType = typeof(bool))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeRunner), Member = "Perform", MemberParameters = new object[]
83 {
85 typeof(GenAction)
86 }, ReturnType = typeof(bool))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 15)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ShapeData), Member = "Add", MemberParameters = new object[]
89 {
90 typeof(int),
91 typeof(int)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
94 protected bool UnitApply(GenAction action, Point origin, int x, int y, params object[] args)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6003040")]
100 [global::Cpp2ILInjected.Address(RVA = "0x12F9B8C", Offset = "0x12F9B8C", Length = "0x8")]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiningExplosivesBiome), Member = "Place", MemberParameters = new object[]
102 {
103 typeof(Point),
105 }, ReturnType = typeof(bool))]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
108 {
109 throw null;
110 }
111
112 [global::Cpp2ILInjected.Token(Token = "0x6003041")]
113 [global::Cpp2ILInjected.Address(RVA = "0x12F9B94", Offset = "0x12F9B94", Length = "0xC")]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
115 public GenShape QuitOnFail(bool value = true)
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x6003042")]
121 [global::Cpp2ILInjected.Address(RVA = "0x12F8638", Offset = "0x12F8638", Length = "0x8")]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeBranch), Member = ".ctor", ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeBranch), Member = ".ctor", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeBranch), Member = ".ctor", MemberParameters = new object[]
125 {
126 typeof(double),
127 typeof(double)
128 }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeFloodFill), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeRoot), Member = ".ctor", MemberParameters = new object[]
131 {
132 typeof(double),
133 typeof(double),
134 typeof(double),
135 typeof(double)
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ShapeRunner), Member = ".ctor", MemberParameters = new object[]
138 {
139 typeof(double),
140 typeof(int),
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
145 protected GenShape()
146 {
147 throw null;
148 }
149
150 [global::Cpp2ILInjected.Token(Token = "0x40039D9")]
151 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
153
154 [global::Cpp2ILInjected.Token(Token = "0x40039DA")]
155 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
156 protected bool _quitOnFail;
157 }
158}
class f__AnonymousType0<< Count > j__TPar
bool Perform(Point origin, GenAction action)
GenShape Output(ShapeData outputData)
Definition GenShape.cs:107
GenShape QuitOnFail(bool value=true)
Definition GenShape.cs:115
bool UnitApply(GenAction action, Point origin, int x, int y, params object[] args)
Definition GenShape.cs:94