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
TileLightScanner.cs
Go to the documentation of this file.
1using System;
8using Terraria.ID;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x200077C")]
15 public class TileLightScanner
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6003ECC")]
18 [global::Cpp2ILInjected.Address(RVA = "0x7345F4", Offset = "0x7345F4", Length = "0x74")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyLighting), Member = ".ctor", MemberParameters = new object[] { typeof(Camera) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = ".ctor", ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "CreateWithRandomSeed", ReturnType = typeof(FastRandom))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6003ECD")]
31 [global::Cpp2ILInjected.Address(RVA = "0x734668", Offset = "0x734668", Length = "0x4")]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 private void ExportBatchFinished(int index)
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x170007A2")]
40 {
41 [global::Cpp2ILInjected.Token(Token = "0x6003ECE")]
42 [global::Cpp2ILInjected.Address(RVA = "0x73466C", Offset = "0x73466C", Length = "0x80")]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportToThreaded", MemberParameters = new object[]
44 {
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadedRenderManager.BatchProcessCallback), Member = ".ctor", MemberParameters = new object[]
50 {
51 typeof(object),
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
55 get
56 {
57 throw null;
58 }
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x6003ECF")]
62 [global::Cpp2ILInjected.Address(RVA = "0x7346EC", Offset = "0x7346EC", Length = "0x164")]
63 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
65 {
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Right", ReturnType = typeof(int))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Bottom", ReturnType = typeof(int))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadedRenderManager.RenderThreadInstance), Member = "ExportTo", MemberParameters = new object[]
73 {
75 typeof(int),
76 typeof(int),
77 typeof(int),
78 typeof(int),
79 typeof(int),
80 typeof(int),
81 typeof(LightMap)
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
84 {
85 typeof(int),
86 typeof(int),
87 typeof(int),
88 typeof(int),
89 typeof(int),
90 typeof(int),
91 typeof(LightMap)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "get_ExportBatchFinishedCallback", ReturnType = typeof(ThreadedRenderManager.BatchProcessCallback))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadedRenderManager), Member = "WaitAndProcess", MemberParameters = new object[]
95 {
97 typeof(int)
98 }, ReturnType = typeof(void))]
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6003ED0")]
105 [global::Cpp2ILInjected.Address(RVA = "0x739138", Offset = "0x739138", Length = "0xF4")]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyLighting), Member = "PreRenderPhase", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessScan", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ExportToThreaded", MemberParameters = new object[]
110 {
112 typeof(LightMap)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Right", ReturnType = typeof(int))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Bottom", ReturnType = typeof(int))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
117 {
118 typeof(int),
119 typeof(int),
120 typeof(int),
121 typeof(int),
122 typeof(int),
123 typeof(int),
124 typeof(LightMap)
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
128 {
129 throw null;
130 }
131
132 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
133 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
134 [global::Cpp2ILInjected.Token(Token = "0x6003ED1")]
135 [global::Cpp2ILInjected.Address(RVA = "0x734850", Offset = "0x734850", Length = "0x48E8")]
136 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadedRenderManager.RenderThreadInstance), Member = "DrawThread", ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportToThreaded", MemberParameters = new object[]
139 {
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
144 {
146 typeof(LightMap)
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "ShouldShowInvisibleWalls", ReturnType = typeof(bool))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "WithModifier", MemberParameters = new object[]
151 {
152 typeof(int),
153 typeof(int)
154 }, ReturnType = typeof(FastRandom))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_UnderworldLayer", ReturnType = typeof(int))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_liquidAlpha", ReturnType = typeof(float[]))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "NextFloat", MemberParameters = new object[] { typeof(UnifiedRandom) }, ReturnType = typeof(float))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[]
160 {
161 typeof(int),
162 typeof(int)
163 }, ReturnType = typeof(int))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
165 {
166 typeof(int),
167 typeof(int)
168 }, ReturnType = typeof(Tile))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "paintColor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LiquidRenderer), Member = "GetShimmerBaseColor", MemberParameters = new object[]
173 {
174 typeof(float),
175 typeof(float)
176 }, ReturnType = typeof(Vector4))]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "GetPortalColor", MemberParameters = new object[]
178 {
179 typeof(int),
180 typeof(int)
181 }, ReturnType = typeof(Color))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector3", ReturnType = typeof(Vector3))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
184 {
186 typeof(float)
187 }, ReturnType = typeof(Vector3))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TorchID), Member = "TorchColor", MemberParameters = new object[]
189 {
190 typeof(int),
191 typeof(ref float),
192 typeof(ref float),
193 typeof(ref float)
194 }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
196 {
197 typeof(int),
198 typeof(int),
199 typeof(int),
200 typeof(int)
201 }, ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "hslToRgb", MemberParameters = new object[]
203 {
204 typeof(float),
205 typeof(float),
206 typeof(float),
207 typeof(byte)
208 }, ReturnType = typeof(Color))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "MultiplyRGBA", MemberParameters = new object[]
210 {
211 typeof(Color),
213 }, ReturnType = typeof(Color))]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
215 {
216 typeof(Color),
217 typeof(float)
218 }, ReturnType = typeof(Color))]
219 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 111)]
220 public void ExportTo(int startX, int startY, int endX, int endY, int lightStartX, int lightStartY, LightMap outputMap)
221 {
222 throw null;
223 }
224
225 [global::Cpp2ILInjected.Token(Token = "0x6003ED2")]
226 [global::Cpp2ILInjected.Address(RVA = "0x73922C", Offset = "0x73922C", Length = "0x130")]
227 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
229 {
230 typeof(int),
231 typeof(int),
232 typeof(int)
233 }, ReturnType = typeof(bool))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
235 {
236 typeof(int),
237 typeof(int)
238 }, ReturnType = typeof(Tile))]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
240 private bool IsTileNullOrTouchingNull(int x, int y)
241 {
242 throw null;
243 }
244
245 [global::Cpp2ILInjected.Token(Token = "0x6003ED3")]
246 [global::Cpp2ILInjected.Address(RVA = "0x73935C", Offset = "0x73935C", Length = "0xC")]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyLighting), Member = "PreRenderPhase", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessScan", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "NextSeed", ReturnType = typeof(void))]
251 public void Update()
252 {
253 throw null;
254 }
255
256 [global::Cpp2ILInjected.Token(Token = "0x6003ED4")]
257 [global::Cpp2ILInjected.Address(RVA = "0x739368", Offset = "0x739368", Length = "0x84")]
258 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
260 {
261 typeof(int),
262 typeof(int)
263 }, ReturnType = typeof(Tile))]
264 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
265 public LightMaskMode GetMaskMode(int x, int y)
266 {
267 throw null;
268 }
269
270 [global::Cpp2ILInjected.Token(Token = "0x6003ED5")]
271 [global::Cpp2ILInjected.Address(RVA = "0x7393EC", Offset = "0x7393EC", Length = "0xA8")]
272 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
273 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "LightIsBlocked", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "inActive", ReturnType = typeof(bool))]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
278 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "lava", ReturnType = typeof(bool))]
279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "honey", ReturnType = typeof(bool))]
282 {
283 throw null;
284 }
285
286 [global::Cpp2ILInjected.Token(Token = "0x6003ED6")]
287 [global::Cpp2ILInjected.Address(RVA = "0x739548", Offset = "0x739548", Length = "0x1F4")]
288 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
289 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
291 {
292 typeof(int),
293 typeof(int)
294 }, ReturnType = typeof(Tile))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "WithModifier", MemberParameters = new object[]
296 {
297 typeof(int),
298 typeof(int)
299 }, ReturnType = typeof(FastRandom))]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_UnderworldLayer", ReturnType = typeof(int))]
301 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ApplyHellLight", MemberParameters = new object[]
302 {
303 typeof(Tile),
304 typeof(int),
305 typeof(int),
307 }, ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ApplySurfaceLight", MemberParameters = new object[]
309 {
310 typeof(Tile),
311 typeof(int),
312 typeof(int),
314 }, ReturnType = typeof(void))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ApplyWallLight", MemberParameters = new object[]
316 {
317 typeof(Tile),
318 typeof(int),
319 typeof(int),
322 }, ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
324 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ApplyTileLight", MemberParameters = new object[]
325 {
326 typeof(Tile),
327 typeof(int),
328 typeof(int),
331 }, ReturnType = typeof(void))]
332 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ApplyLiquidLight", MemberParameters = new object[]
333 {
334 typeof(Tile),
336 }, ReturnType = typeof(void))]
337 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
338 public void GetTileLight(int x, int y, out Vector3 outputColor)
339 {
340 throw null;
341 }
342
343 [global::Cpp2ILInjected.Token(Token = "0x6003ED7")]
344 [global::Cpp2ILInjected.Address(RVA = "0x73D8D8", Offset = "0x73D8D8", Length = "0x19C")]
345 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
346 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileLight", MemberParameters = new object[]
347 {
348 typeof(int),
349 typeof(int),
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
353 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
354 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "lava", ReturnType = typeof(bool))]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "shimmer", ReturnType = typeof(bool))]
356 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
357 private void ApplyLiquidLight(Tile tile, ref Vector3 lightColor)
358 {
359 throw null;
360 }
361
362 [global::Cpp2ILInjected.Token(Token = "0x6003ED8")]
363 [global::Cpp2ILInjected.Address(RVA = "0x739494", Offset = "0x739494", Length = "0xB4")]
364 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
365 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileMask", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(LightMaskMode))]
366 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "ApplyWallLight", MemberParameters = new object[]
367 {
368 typeof(Tile),
369 typeof(int),
370 typeof(int),
373 }, ReturnType = typeof(void))]
374 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 14)]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
377 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "invisibleBlock", ReturnType = typeof(bool))]
378 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
379 private bool LightIsBlocked(Tile tile)
380 {
381 throw null;
382 }
383
384 [global::Cpp2ILInjected.Token(Token = "0x6003ED9")]
385 [global::Cpp2ILInjected.Address(RVA = "0x73A580", Offset = "0x73A580", Length = "0x4F8")]
386 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
387 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileLight", MemberParameters = new object[]
388 {
389 typeof(int),
390 typeof(int),
392 }, ReturnType = typeof(void))]
393 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "LightIsBlocked", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[]
397 {
398 typeof(int),
399 typeof(int)
400 }, ReturnType = typeof(int))]
401 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
402 private void ApplyWallLight(Tile tile, int x, int y, ref FastRandom localRandom, ref Vector3 lightColor)
403 {
404 throw null;
405 }
406
407 [global::Cpp2ILInjected.Token(Token = "0x6003EDA")]
408 [global::Cpp2ILInjected.Address(RVA = "0x73AA78", Offset = "0x73AA78", Length = "0x2E60")]
409 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
410 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileLight", MemberParameters = new object[]
411 {
412 typeof(int),
413 typeof(int),
415 }, ReturnType = typeof(void))]
416 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameX", ReturnType = typeof(short))]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[]
420 {
421 typeof(int),
422 typeof(int)
423 }, ReturnType = typeof(int))]
424 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_frameY", ReturnType = typeof(short))]
425 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
426 {
427 typeof(int),
428 typeof(int)
429 }, ReturnType = typeof(Tile))]
430 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "color", ReturnType = typeof(byte))]
431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "paintColor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
433 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LiquidRenderer), Member = "GetShimmerBaseColor", MemberParameters = new object[]
434 {
435 typeof(float),
436 typeof(float)
437 }, ReturnType = typeof(Vector4))]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "invisibleBlock", ReturnType = typeof(bool))]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TorchID), Member = "TorchColor", MemberParameters = new object[]
440 {
441 typeof(int),
442 typeof(ref float),
443 typeof(ref float),
444 typeof(ref float)
445 }, ReturnType = typeof(void))]
446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PortalHelper), Member = "GetPortalColor", MemberParameters = new object[]
447 {
448 typeof(int),
449 typeof(int)
450 }, ReturnType = typeof(Color))]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector3", ReturnType = typeof(Vector3))]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
453 {
455 typeof(float)
456 }, ReturnType = typeof(Vector3))]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
458 {
459 typeof(int),
460 typeof(int),
461 typeof(int),
462 typeof(int)
463 }, ReturnType = typeof(void))]
464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "hslToRgb", MemberParameters = new object[]
465 {
466 typeof(float),
467 typeof(float),
468 typeof(float),
469 typeof(byte)
470 }, ReturnType = typeof(Color))]
471 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "MultiplyRGBA", MemberParameters = new object[]
472 {
473 typeof(Color),
475 }, ReturnType = typeof(Color))]
476 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
477 {
478 typeof(Color),
479 typeof(float)
480 }, ReturnType = typeof(Color))]
481 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 76)]
482 private void ApplyTileLight(Tile tile, int x, int y, ref FastRandom localRandom, ref Vector3 lightColor)
483 {
484 throw null;
485 }
486
487 [global::Cpp2ILInjected.Token(Token = "0x6003EDB")]
488 [global::Cpp2ILInjected.Address(RVA = "0x73973C", Offset = "0x73973C", Length = "0x878")]
489 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
490 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileLight", MemberParameters = new object[]
491 {
492 typeof(int),
493 typeof(int),
495 }, ReturnType = typeof(void))]
496 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
497 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
498 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
499 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
500 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "invisibleWall", ReturnType = typeof(bool))]
501 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
502 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
503 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
504 {
505 typeof(int),
506 typeof(int)
507 }, ReturnType = typeof(Tile))]
508 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
509 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_liquidAlpha", ReturnType = typeof(float[]))]
510 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", ReturnType = typeof(void))]
511 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "NextFloat", MemberParameters = new object[] { typeof(UnifiedRandom) }, ReturnType = typeof(float))]
512 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "invisibleBlock", ReturnType = typeof(bool))]
513 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 28)]
514 private void ApplySurfaceLight(Tile tile, int x, int y, ref Vector3 lightColor)
515 {
516 throw null;
517 }
518
519 [global::Cpp2ILInjected.Token(Token = "0x6003EDC")]
520 [global::Cpp2ILInjected.Address(RVA = "0x739FB4", Offset = "0x739FB4", Length = "0x5CC")]
521 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
522 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileLightScanner), Member = "GetTileLight", MemberParameters = new object[]
523 {
524 typeof(int),
525 typeof(int),
527 }, ReturnType = typeof(void))]
528 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
529 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
530 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
531 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "slope", ReturnType = typeof(byte))]
532 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "halfBrick", ReturnType = typeof(bool))]
533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
534 {
535 typeof(int),
536 typeof(int)
537 }, ReturnType = typeof(Tile))]
538 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
539 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
540 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "invisibleWall", ReturnType = typeof(bool))]
541 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
542 private void ApplyHellLight(Tile tile, int x, int y, ref Vector3 lightColor)
543 {
544 throw null;
545 }
546
547 [global::Cpp2ILInjected.Token(Token = "0x4007D6B")]
548 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
550
551 [global::Cpp2ILInjected.Token(Token = "0x4007D6C")]
552 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
554
555 [global::Cpp2ILInjected.Token(Token = "0x4007D6D")]
556 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
558
559 [global::Cpp2ILInjected.Token(Token = "0x4007D6E")]
560 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
562 }
563}
class f__AnonymousType0<< Count > j__TPar
void ApplyWallLight(Tile tile, int x, int y, ref FastRandom localRandom, ref Vector3 lightColor)
void ExportTo(int startX, int startY, int endX, int endY, int lightStartX, int lightStartY, LightMap outputMap)
void ApplyHellLight(Tile tile, int x, int y, ref Vector3 lightColor)
ThreadedRenderManager.BatchProcessCallback _processBatchFinishedCallback
void ApplyTileLight(Tile tile, int x, int y, ref FastRandom localRandom, ref Vector3 lightColor)
LightMaskMode GetMaskMode(int x, int y)
void ApplyLiquidLight(Tile tile, ref Vector3 lightColor)
ThreadedRenderManager.BatchProcessCallback ExportBatchFinishedCallback
void ExportTo(Rectangle area, LightMap outputMap)
void ExportToThreaded(Rectangle area, LightMap outputMap)
void ApplySurfaceLight(Tile tile, int x, int y, ref Vector3 lightColor)
void GetTileLight(int x, int y, out Vector3 outputColor)
delegate void BatchProcessCallback(int index)