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
CaptureBiome.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000761")]
9 public class CaptureBiome
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6003E19")]
12 [global::Cpp2ILInjected.Address(RVA = "0x14ACE78", Offset = "0x14ACE78", Length = "0x3C")]
13 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
14 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
16 {
17 throw null;
18 }
19
20 [global::Cpp2ILInjected.Token(Token = "0x6003E1A")]
21 [global::Cpp2ILInjected.Address(RVA = "0x14ACEB4", Offset = "0x14ACEB4", Length = "0x224")]
22 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureInterface), Member = "UpdateButtons", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureInterface), Member = "QuickScreenshot", ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CaptureBiome), Member = "GetBiomeByLocation", ReturnType = typeof(CaptureBiome))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CaptureBiome), Member = "GetBiomeByWater", ReturnType = typeof(CaptureBiome))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x6003E1B")]
35 [global::Cpp2ILInjected.Address(RVA = "0x14AD444", Offset = "0x14AD444", Length = "0xDC")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureBiome), Member = "GetCaptureBiome", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(CaptureBiome))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "CalculateWaterStyle", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6003E1C")]
47 [global::Cpp2ILInjected.Address(RVA = "0x14AD234", Offset = "0x14AD234", Length = "0x210")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureBiome), Member = "GetCaptureBiome", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(CaptureBiome))]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "GetPreferredBGStyleForPlayer", ReturnType = typeof(int))]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x6003E1D")]
59 [global::Cpp2ILInjected.Address(RVA = "0x14AD0D8", Offset = "0x14AD0D8", Length = "0x15C")]
60 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalPlayer", ReturnType = typeof(Player))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
66 {
67 throw null;
68 }
69
70 // Note: this type is marked as 'beforefieldinit'.
71 [global::Cpp2ILInjected.Token(Token = "0x6003E1E")]
72 [global::Cpp2ILInjected.Address(RVA = "0x14AD520", Offset = "0x14AD520", Length = "0x2B0")]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
76 static CaptureBiome()
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x4007CCF")]
83
84 [global::Cpp2ILInjected.Token(Token = "0x4007CD0")]
86
87 [global::Cpp2ILInjected.Token(Token = "0x4007CD1")]
88 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
89 public readonly int WaterStyle;
90
91 [global::Cpp2ILInjected.Token(Token = "0x4007CD2")]
92 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
94
95 [global::Cpp2ILInjected.Token(Token = "0x4007CD3")]
96 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
98
99 [global::Cpp2ILInjected.Token(Token = "0x2000762")]
100 public enum TileColorStyle
101 {
102 [global::Cpp2ILInjected.Token(Token = "0x4007CD5")]
103 Normal,
104 [global::Cpp2ILInjected.Token(Token = "0x4007CD6")]
105 Jungle,
106 [global::Cpp2ILInjected.Token(Token = "0x4007CD7")]
107 Crimson,
108 [global::Cpp2ILInjected.Token(Token = "0x4007CD8")]
109 Corrupt,
110 [global::Cpp2ILInjected.Token(Token = "0x4007CD9")]
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x2000763")]
115 public class Sets
116 {
117 [global::Cpp2ILInjected.Token(Token = "0x6003E1F")]
118 [global::Cpp2ILInjected.Address(RVA = "0x14AD7D0", Offset = "0x14AD7D0", Length = "0x8")]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
121 public Sets()
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x2000764")]
127 public class WaterStyles
128 {
129 [global::Cpp2ILInjected.Token(Token = "0x6003E20")]
130 [global::Cpp2ILInjected.Address(RVA = "0x14AD7D8", Offset = "0x14AD7D8", Length = "0x8")]
131 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
133 public WaterStyles()
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x4007CDA")]
139 public const int BloodMoon = 9;
140 }
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x2000765")]
144 public class Styles
145 {
146 [global::Cpp2ILInjected.Token(Token = "0x6003E21")]
147 [global::Cpp2ILInjected.Address(RVA = "0x14AD7E0", Offset = "0x14AD7E0", Length = "0x8")]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
150 public Styles()
151 {
152 throw null;
153 }
154
155 // Note: this type is marked as 'beforefieldinit'.
156 [global::Cpp2ILInjected.Token(Token = "0x6003E22")]
157 [global::Cpp2ILInjected.Address(RVA = "0x14AD7E8", Offset = "0x14AD7E8", Length = "0x354")]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
162 static Styles()
163 {
164 throw null;
165 }
166
167 [global::Cpp2ILInjected.Token(Token = "0x4007CDB")]
168 public static CaptureBiome Purity;
169
170 [global::Cpp2ILInjected.Token(Token = "0x4007CDC")]
171 public static CaptureBiome Purity2;
172
173 [global::Cpp2ILInjected.Token(Token = "0x4007CDD")]
174 public static CaptureBiome Purity3;
175
176 [global::Cpp2ILInjected.Token(Token = "0x4007CDE")]
177 public static CaptureBiome Purity4;
178
179 [global::Cpp2ILInjected.Token(Token = "0x4007CDF")]
181
182 [global::Cpp2ILInjected.Token(Token = "0x4007CE0")]
183 public static CaptureBiome Jungle;
184
185 [global::Cpp2ILInjected.Token(Token = "0x4007CE1")]
186 public static CaptureBiome Hallow;
187
188 [global::Cpp2ILInjected.Token(Token = "0x4007CE2")]
189 public static CaptureBiome Snow;
190
191 [global::Cpp2ILInjected.Token(Token = "0x4007CE3")]
192 public static CaptureBiome Desert;
193
194 [global::Cpp2ILInjected.Token(Token = "0x4007CE4")]
195 public static CaptureBiome DirtLayer;
196
197 [global::Cpp2ILInjected.Token(Token = "0x4007CE5")]
198 public static CaptureBiome RockLayer;
199
200 [global::Cpp2ILInjected.Token(Token = "0x4007CE6")]
201 public static CaptureBiome BloodMoon;
202
203 [global::Cpp2ILInjected.Token(Token = "0x4007CE7")]
204 public static CaptureBiome Crimson;
205
206 [global::Cpp2ILInjected.Token(Token = "0x4007CE8")]
208
209 [global::Cpp2ILInjected.Token(Token = "0x4007CE9")]
210 public static CaptureBiome Ocean;
211
212 [global::Cpp2ILInjected.Token(Token = "0x4007CEA")]
213 public static CaptureBiome Mushroom;
214 }
215
216 [global::Cpp2ILInjected.Token(Token = "0x2000766")]
217 private enum BiomeChoiceIndex
218 {
219 [global::Cpp2ILInjected.Token(Token = "0x4007CEC")]
221 [global::Cpp2ILInjected.Token(Token = "0x4007CED")]
222 Purity = 1,
223 [global::Cpp2ILInjected.Token(Token = "0x4007CEE")]
225 [global::Cpp2ILInjected.Token(Token = "0x4007CEF")]
226 Jungle,
227 [global::Cpp2ILInjected.Token(Token = "0x4007CF0")]
228 Hallow,
229 [global::Cpp2ILInjected.Token(Token = "0x4007CF1")]
230 Snow,
231 [global::Cpp2ILInjected.Token(Token = "0x4007CF2")]
232 Desert,
233 [global::Cpp2ILInjected.Token(Token = "0x4007CF3")]
234 DirtLayer,
235 [global::Cpp2ILInjected.Token(Token = "0x4007CF4")]
236 RockLayer,
237 [global::Cpp2ILInjected.Token(Token = "0x4007CF5")]
238 Crimson,
239 [global::Cpp2ILInjected.Token(Token = "0x4007CF6")]
241 [global::Cpp2ILInjected.Token(Token = "0x4007CF7")]
242 Ocean,
243 [global::Cpp2ILInjected.Token(Token = "0x4007CF8")]
245 }
246 }
247}
class f__AnonymousType0<< Count > j__TPar
static readonly CaptureBiome DefaultPurity
readonly CaptureBiome.TileColorStyle TileColor
static CaptureBiome GetCaptureBiome(int biomeChoice)
static CaptureBiome[] BiomesByWaterStyle
static CaptureBiome GetBiomeByWater()
CaptureBiome(int backgroundIndex, int waterStyle, CaptureBiome.TileColorStyle tileColorStyle=CaptureBiome.TileColorStyle.Normal)
static CaptureBiome GetBiomeByLocation()
static CaptureBiome GetPurityForPlayer()