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
LightingEngine.cs
Go to the documentation of this file.
1using System;
7using Terraria.Map;
10
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000776")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6003E91")]
17 [global::Cpp2ILInjected.Address(RVA = "0x73DADC", Offset = "0x73DADC", Length = "0x154")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUserGameState), Member = "get_NewEngine", ReturnType = typeof(LightingEngine))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<LightingEngine.PerFrameLight>), Member = ".ctor", ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = ".ctor", ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x6003E92")]
32 [global::Cpp2ILInjected.Address(RVA = "0x73DE4C", Offset = "0x73DE4C", Length = "0x104")]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
36 {
37 typeof(int),
38 typeof(int)
39 }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
41 public void AddLight(int x, int y, Vector3 color)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6003E93")]
47 [global::Cpp2ILInjected.Address(RVA = "0x73DF60", Offset = "0x73DF60", Length = "0x58")]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = "Clear", ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
51 public void Clear()
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6003E94")]
57 [global::Cpp2ILInjected.Address(RVA = "0x73DFEC", Offset = "0x73DFEC", Length = "0x10")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 {
62 throw null;
63 }
64
65 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
66 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
67 [global::Cpp2ILInjected.Token(Token = "0x6003E95")]
68 [global::Cpp2ILInjected.Address(RVA = "0x73DFFC", Offset = "0x73DFFC", Length = "0xF8")]
69 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[]
72 {
73 typeof(int),
74 typeof(int)
75 }, ReturnType = typeof(bool))]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
77 public Vector3 GetColor(int x, int y)
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x6003E96")]
83 [global::Cpp2ILInjected.Address(RVA = "0x73E114", Offset = "0x73E114", Length = "0x30C")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_renderCount", ReturnType = typeof(int))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_renderCount", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "SetState", ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Start", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeLogger), Member = "LightingTime", MemberParameters = new object[]
91 {
92 typeof(int),
93 typeof(double)
94 }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapDelay", ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapDelay", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Inflate", MemberParameters = new object[]
98 {
99 typeof(int),
100 typeof(int)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SceneMetrics", ReturnType = typeof(SceneMetrics))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_LocalPlayer", ReturnType = typeof(Player))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "get_Center", ReturnType = typeof(Vector2))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2?), Member = ".ctor", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SceneMetrics), Member = "ScanAndExportToMain", MemberParameters = new object[] { typeof(SceneMetricsScanSettings) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "get_Elapsed", ReturnType = typeof(TimeSpan))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ProcessScan", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ProcessBlur", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = "BlurPass", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "NextSeed", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "Present", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ExportToMiniMap", ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stopwatch), Member = "Reset", ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
119 {
120 throw null;
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x6003E97")]
124 [global::Cpp2ILInjected.Address(RVA = "0x73E420", Offset = "0x73E420", Length = "0x5C")]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessArea", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_renderCount", ReturnType = typeof(int))]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
129 private void SetState()
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6003E98")]
135 [global::Cpp2ILInjected.Address(RVA = "0x73E684", Offset = "0x73E684", Length = "0x70")]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessArea", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Inflate", MemberParameters = new object[]
139 {
140 typeof(int),
141 typeof(int)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = "SetSize", MemberParameters = new object[]
144 {
145 typeof(int),
146 typeof(int)
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "Update", ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileLightScanner), Member = "ExportTo", MemberParameters = new object[]
150 {
152 typeof(LightMap)
153 }, ReturnType = typeof(void))]
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x6003E99")]
160 [global::Cpp2ILInjected.Address(RVA = "0x73E6F4", Offset = "0x73E6F4", Length = "0x20")]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessArea", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "UpdateLightDecay", ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ApplyPerFrameLights", ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = "BlurPass", ReturnType = typeof(void))]
166 private void ProcessBlur()
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x6003E9A")]
172 [global::Cpp2ILInjected.Address(RVA = "0x73E714", Offset = "0x73E714", Length = "0x20")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = "BlurPass", ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "NextSeed", ReturnType = typeof(void))]
176 private void ProcessBlur2()
177 {
178 throw null;
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x6003E9B")]
182 [global::Cpp2ILInjected.Address(RVA = "0x73E734", Offset = "0x73E734", Length = "0xA4")]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessArea", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Swap", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
186 {
187 typeof(ref object),
188 typeof(ref object)
189 }, ReturnType = typeof(void))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Swap", MemberTypeParameters = new object[] { typeof(Rectangle) }, MemberParameters = new object[]
191 {
194 }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
196 private void Present()
197 {
198 throw null;
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x6003E9C")]
202 [global::Cpp2ILInjected.Address(RVA = "0x73E874", Offset = "0x73E874", Length = "0x650")]
203 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessBlur", ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = ".ctor", MemberParameters = new object[]
207 {
208 typeof(float),
209 typeof(float),
210 typeof(float)
211 }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
213 {
215 typeof(float)
216 }, ReturnType = typeof(Vector3))]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_waterStyle", ReturnType = typeof(int))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
219 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
220 private void UpdateLightDecay()
221 {
222 throw null;
223 }
224
225 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
226 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
227 [global::Cpp2ILInjected.Token(Token = "0x6003E9D")]
228 [global::Cpp2ILInjected.Address(RVA = "0x73EEC4", Offset = "0x73EEC4", Length = "0x160")]
229 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessBlur", ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<LightingEngine.PerFrameLight>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
234 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
235 private void ApplyPerFrameLights()
236 {
237 throw null;
238 }
239
240 [global::Cpp2ILInjected.Token(Token = "0x6003E9E")]
241 [global::Cpp2ILInjected.Address(RVA = "0x73F104", Offset = "0x73F104", Length = "0x118")]
242 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Initialize", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightMap), Member = ".ctor", ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
247 public void Rebuild()
248 {
249 throw null;
250 }
251
252 [global::Cpp2ILInjected.Token(Token = "0x6003E9F")]
253 [global::Cpp2ILInjected.Address(RVA = "0x73F21C", Offset = "0x73F21C", Length = "0x4")]
254 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
255 private void ExportBatchFinished(int index)
256 {
257 throw null;
258 }
259
260 [global::Cpp2ILInjected.Token(Token = "0x17000798")]
262 {
263 [global::Cpp2ILInjected.Token(Token = "0x6003EA0")]
264 [global::Cpp2ILInjected.Address(RVA = "0x73F220", Offset = "0x73F220", Length = "0x80")]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ExportToMiniMapThreaded", MemberParameters = new object[]
266 {
267 typeof(int),
268 typeof(int),
269 typeof(int),
270 typeof(int)
271 }, ReturnType = typeof(void))]
272 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadedRenderManager.BatchProcessCallback), Member = ".ctor", MemberParameters = new object[]
274 {
275 typeof(object),
277 }, ReturnType = typeof(void))]
278 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
279 get
280 {
281 throw null;
282 }
283 }
284
285 [global::Cpp2ILInjected.Token(Token = "0x6003EA1")]
286 [global::Cpp2ILInjected.Address(RVA = "0x73F2A0", Offset = "0x73F2A0", Length = "0x104")]
287 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ExportToMiniMap", ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadedRenderManager.RenderThreadInstance), Member = "ExportToMinimap", MemberParameters = new object[]
291 {
293 typeof(int),
294 typeof(int),
295 typeof(int),
296 typeof(int)
297 }, ReturnType = typeof(void))]
298 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ExportToMiniMap", MemberParameters = new object[]
299 {
300 typeof(int),
301 typeof(int),
302 typeof(int),
303 typeof(int)
304 }, ReturnType = typeof(void))]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "get_ExportBatchFinishedCallback", ReturnType = typeof(ThreadedRenderManager.BatchProcessCallback))]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadedRenderManager), Member = "WaitAndProcess", MemberParameters = new object[]
307 {
309 typeof(int)
310 }, ReturnType = typeof(void))]
311 private void ExportToMiniMapThreaded(int firstTileX, int firstTileY, int lastTileX, int lastTileY)
312 {
313 throw null;
314 }
315
316 [global::Cpp2ILInjected.Token(Token = "0x6003EA2")]
317 [global::Cpp2ILInjected.Address(RVA = "0x73FE2C", Offset = "0x73FE2C", Length = "0xC")]
318 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
320 {
321 throw null;
322 }
323
324 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
325 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
326 [global::Cpp2ILInjected.Token(Token = "0x6003EA3")]
327 [global::Cpp2ILInjected.Address(RVA = "0x73F3A4", Offset = "0x73F3A4", Length = "0xA88")]
328 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
329 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadedRenderManager.RenderThreadInstance), Member = "DrawThread", ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ExportToMiniMapThreaded", MemberParameters = new object[]
331 {
332 typeof(int),
333 typeof(int),
334 typeof(int),
335 typeof(int)
336 }, ReturnType = typeof(void))]
337 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ExportToMiniMap", ReturnType = typeof(void))]
338 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_Map", ReturnType = typeof(WorldMap))]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_SceneMetrics", ReturnType = typeof(SceneMetrics))]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_UnderworldLayer", ReturnType = typeof(int))]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldMap), Member = "GetChunkTile", MemberParameters = new object[]
343 {
344 typeof(int),
345 typeof(int),
347 }, ReturnType = typeof(MapTile*))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MapHelper), Member = "GetTileBaseOption", MemberParameters = new object[]
349 {
350 typeof(int),
351 typeof(ushort),
352 typeof(int),
353 typeof(int),
354 typeof(ref int)
355 }, ReturnType = typeof(void))]
356 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ushort, bool>), Member = "TryGetValue", MemberParameters = new object[]
357 {
358 typeof(ushort),
359 typeof(ref bool)
360 }, ReturnType = typeof(bool))]
361 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 28)]
362 public unsafe void ExportToMiniMap(int left, int top, int right, int bottom)
363 {
364 throw null;
365 }
366
367 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
368 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
369 [global::Cpp2ILInjected.Token(Token = "0x6003EA4")]
370 [global::Cpp2ILInjected.Address(RVA = "0x73E47C", Offset = "0x73E47C", Length = "0x208")]
371 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
372 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LightingEngine), Member = "ProcessArea", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
373 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
374 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapEnabled", ReturnType = typeof(bool))]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mapReady", ReturnType = typeof(bool))]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
377 {
378 typeof(int),
379 typeof(int),
380 typeof(int),
381 typeof(int)
382 }, ReturnType = typeof(void))]
383 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Inflate", MemberParameters = new object[]
384 {
385 typeof(int),
386 typeof(int)
387 }, ReturnType = typeof(void))]
388 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Intersect", MemberParameters = new object[]
389 {
392 }, ReturnType = typeof(Rectangle))]
393 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Right", ReturnType = typeof(int))]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMaxX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
397 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Bottom", ReturnType = typeof(int))]
398 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMaxY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
399 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ExportToMiniMapThreaded", MemberParameters = new object[]
400 {
401 typeof(int),
402 typeof(int),
403 typeof(int),
404 typeof(int)
405 }, ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "ExportToMiniMap", MemberParameters = new object[]
407 {
408 typeof(int),
409 typeof(int),
410 typeof(int),
411 typeof(int)
412 }, ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_updateMap", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
414 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
415 private void ExportToMiniMap()
416 {
417 throw null;
418 }
419
420 [global::Cpp2ILInjected.Token(Token = "0x4007D41")]
421 public const int AREA_PADDING = 20;
422
423 [global::Cpp2ILInjected.Token(Token = "0x4007D42")]
424 private const int NON_VISIBLE_PADDING = 10;
425
426 [global::Cpp2ILInjected.Token(Token = "0x4007D43")]
427 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
429
430 [global::Cpp2ILInjected.Token(Token = "0x4007D44")]
431 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
433
434 [global::Cpp2ILInjected.Token(Token = "0x4007D45")]
435 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
437
438 [global::Cpp2ILInjected.Token(Token = "0x4007D46")]
439 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
441
442 [global::Cpp2ILInjected.Token(Token = "0x4007D47")]
443 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
445
446 [global::Cpp2ILInjected.Token(Token = "0x4007D48")]
447 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
449
450 [global::Cpp2ILInjected.Token(Token = "0x4007D49")]
451 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
453
454 [global::Cpp2ILInjected.Token(Token = "0x4007D4A")]
455 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
457
458 [global::Cpp2ILInjected.Token(Token = "0x4007D4B")]
459 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
461
462 [global::Cpp2ILInjected.Token(Token = "0x4007D4C")]
463 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
465
466 [global::Cpp2ILInjected.Token(Token = "0x4007D4D")]
467 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
469
470 [global::Cpp2ILInjected.Token(Token = "0x2000777")]
471 private enum EngineState
472 {
473 [global::Cpp2ILInjected.Token(Token = "0x4007D4F")]
475 [global::Cpp2ILInjected.Token(Token = "0x4007D50")]
477 [global::Cpp2ILInjected.Token(Token = "0x4007D51")]
478 Scan,
479 [global::Cpp2ILInjected.Token(Token = "0x4007D52")]
480 Blur,
481 [global::Cpp2ILInjected.Token(Token = "0x4007D53")]
482 Blur2
483 }
484
485 [global::Cpp2ILInjected.Token(Token = "0x2000778")]
486 private struct PerFrameLight
487 {
488 [global::Cpp2ILInjected.Token(Token = "0x6003EA5")]
489 [global::Cpp2ILInjected.Address(RVA = "0x73DF50", Offset = "0x73DF50", Length = "0x10")]
490 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
491 public PerFrameLight(Point position, Vector3 color)
492 {
493 throw null;
494 }
495
496 [global::Cpp2ILInjected.Token(Token = "0x4007D54")]
497 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
499
500 [global::Cpp2ILInjected.Token(Token = "0x4007D55")]
501 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
503 }
504 }
505}
class f__AnonymousType0<< Count > j__TPar
ThreadedRenderManager.BatchProcessCallback ExportBatchFinishedCallback
LightingEngine.EngineState _state
LightMap GetLightMap(out Rectangle lightMapRegion)
void AddLight(int x, int y, Vector3 color)
readonly List< LightingEngine.PerFrameLight > _perFrameLights
ThreadedRenderManager.BatchProcessCallback _processBatchFinishedCallback
unsafe void ExportToMiniMap(int left, int top, int right, int bottom)
void ExportToMiniMapThreaded(int firstTileX, int firstTileY, int lastTileX, int lastTileY)
delegate void BatchProcessCallback(int index)