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
ModShapes.cs
Go to the documentation of this file.
1using System;
11using Terraria.IO;
12
14{
15 [global::Cpp2ILInjected.Token(Token = "0x20004C9")]
16 public static class ModShapes
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x20004CA")]
19 public class All : GenModShape
20 {
21 [global::Cpp2ILInjected.Token(Token = "0x600301C")]
22 [global::Cpp2ILInjected.Address(RVA = "0x12F8640", Offset = "0x12F8640", Length = "0x28")]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CampsiteBiome), Member = "Place", MemberParameters = new object[]
24 {
27 }, ReturnType = typeof(bool))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CorruptionPitBiome), Member = "Place", MemberParameters = new object[]
29 {
32 }, ReturnType = typeof(bool))]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnchantedSwordBiome), Member = "Place", MemberParameters = new object[]
34 {
37 }, ReturnType = typeof(bool))]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiningExplosivesBiome), Member = "Place", MemberParameters = new object[]
39 {
42 }, ReturnType = typeof(bool))]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AnthillEntrance), Member = "PlaceAt", MemberParameters = new object[]
44 {
47 typeof(int)
48 }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LarvaHoleEntrance), Member = "PlaceAt", MemberParameters = new object[]
50 {
53 typeof(int)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HouseBuilder), Member = "PlaceStairs", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 15)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
58 public All(ShapeData data)
59 {
60 throw null;
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x600301D")]
64 [global::Cpp2ILInjected.Address(RVA = "0x12F8668", Offset = "0x12F8668", Length = "0x1EC")]
65 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = "UnitApply", MemberParameters = new object[]
70 {
73 typeof(int),
74 typeof(int),
75 typeof(object[])
76 }, ReturnType = typeof(bool))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
79 public override bool Perform(Point origin, GenAction action)
80 {
81 throw null;
82 }
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x20004CB")]
87 {
88 [global::Cpp2ILInjected.Token(Token = "0x600301E")]
89 [global::Cpp2ILInjected.Address(RVA = "0x12F88B8", Offset = "0x12F88B8", Length = "0x40")]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen.<>c", Member = "<GenerateWorld>b__277_55", MemberParameters = new object[]
91 {
94 }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "smCallBack", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChambersEntrance), Member = "PlaceAt", MemberParameters = new object[]
97 {
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
103 public OuterOutline(ShapeData data, bool useDiagonals = true, bool useInterior = false)
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x600301F")]
109 [global::Cpp2ILInjected.Address(RVA = "0x12F88F8", Offset = "0x12F88F8", Length = "0x344")]
110 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = "UnitApply", MemberParameters = new object[]
115 {
117 typeof(Point),
118 typeof(int),
119 typeof(int),
120 typeof(object[])
121 }, ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ShapeData), Member = "Contains", MemberParameters = new object[]
123 {
124 typeof(int),
125 typeof(int)
126 }, ReturnType = typeof(bool))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
129 public override bool Perform(Point origin, GenAction action)
130 {
131 throw null;
132 }
133
134 // Note: this type is marked as 'beforefieldinit'.
135 [global::Cpp2ILInjected.Token(Token = "0x6003020")]
136 [global::Cpp2ILInjected.Address(RVA = "0x12F8C3C", Offset = "0x12F8C3C", Length = "0x94")]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
139 {
140 typeof(Array),
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x40039C5")]
150 private static readonly int[] POINT_OFFSETS;
151
152 [global::Cpp2ILInjected.Token(Token = "0x40039C6")]
153 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
154 private bool _useDiagonals;
155
156 [global::Cpp2ILInjected.Token(Token = "0x40039C7")]
157 [global::Cpp2ILInjected.FieldOffset(Offset = "0x29")]
158 private bool _useInterior;
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x20004CC")]
163 {
164 [global::Cpp2ILInjected.Token(Token = "0x6003021")]
165 [global::Cpp2ILInjected.Address(RVA = "0x12F8CD0", Offset = "0x12F8CD0", Length = "0x30")]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnchantedSwordBiome), Member = "Place", MemberParameters = new object[]
167 {
168 typeof(Point),
170 }, ReturnType = typeof(bool))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HoneyPatchBiome), Member = "Place", MemberParameters = new object[]
172 {
173 typeof(Point),
175 }, ReturnType = typeof(bool))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
178 public InnerOutline(ShapeData data, bool useDiagonals = true)
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x6003022")]
184 [global::Cpp2ILInjected.Address(RVA = "0x12F8D00", Offset = "0x12F8D00", Length = "0x28C")]
185 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
186 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ShapeData), Member = "Contains", MemberParameters = new object[]
190 {
191 typeof(int),
192 typeof(int)
193 }, ReturnType = typeof(bool))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenShape), Member = "UnitApply", MemberParameters = new object[]
195 {
197 typeof(Point),
198 typeof(int),
199 typeof(int),
200 typeof(object[])
201 }, ReturnType = typeof(bool))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<Point16>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
204 public override bool Perform(Point origin, GenAction action)
205 {
206 throw null;
207 }
208
209 // Note: this type is marked as 'beforefieldinit'.
210 [global::Cpp2ILInjected.Token(Token = "0x6003023")]
211 [global::Cpp2ILInjected.Address(RVA = "0x12F8F8C", Offset = "0x12F8F8C", Length = "0x94")]
212 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
214 {
215 typeof(Array),
217 }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
220 {
221 throw null;
222 }
223
224 [global::Cpp2ILInjected.Token(Token = "0x40039C8")]
225 private static readonly int[] POINT_OFFSETS;
226
227 [global::Cpp2ILInjected.Token(Token = "0x40039C9")]
228 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
229 private bool _useDiagonals;
230 }
231 }
232}
class f__AnonymousType0<< Count > j__TPar
override bool Perform(Point origin, GenAction action)
Definition ModShapes.cs:79
override bool Perform(Point origin, GenAction action)
Definition ModShapes.cs:204
InnerOutline(ShapeData data, bool useDiagonals=true)
Definition ModShapes.cs:178
override bool Perform(Point origin, GenAction action)
Definition ModShapes.cs:129
OuterOutline(ShapeData data, bool useDiagonals=true, bool useInterior=false)
Definition ModShapes.cs:103