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
Lighting.cs
Go to the documentation of this file.
1using System;
19using Terraria.ID;
20using Terraria.IO;
21using Terraria.Map;
23
24namespace Terraria
25{
26 [global::Cpp2ILInjected.Token(Token = "0x20003EF")]
27 public class Lighting
28 {
29 [global::Cpp2ILInjected.Token(Token = "0x1700038B")]
30 private static LightMode _mode
31 {
32 [global::Cpp2ILInjected.Token(Token = "0x6001B78")]
33 [global::Cpp2ILInjected.Address(RVA = "0xB4BDE0", Offset = "0xB4BDE0", Length = "0x4C")]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "get_Mode", ReturnType = typeof(LightMode))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "get_NotRetro", ReturnType = typeof(bool))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
39 get
40 {
41 throw null;
42 }
43 [global::Cpp2ILInjected.Token(Token = "0x6001B79")]
44 [global::Cpp2ILInjected.Address(RVA = "0xB4BE2C", Offset = "0xB4BE2C", Length = "0x50")]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
48 set
49 {
50 throw null;
51 }
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x1700038C")]
56 {
57 [global::Cpp2ILInjected.Token(Token = "0x6001B7A")]
58 [global::Cpp2ILInjected.Address(RVA = "0xB4BE7C", Offset = "0xB4BE7C", Length = "0x4C")]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Initialize", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUserGameState), Member = "get_NewEngine", ReturnType = typeof(LightingEngine))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
64 get
65 {
66 throw null;
67 }
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x1700038D")]
72 {
73 [global::Cpp2ILInjected.Token(Token = "0x6001B7B")]
74 [global::Cpp2ILInjected.Address(RVA = "0xB4BEC8", Offset = "0xB4BEC8", Length = "0x4C")]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Initialize", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUserGameState), Member = "get_LegacyEngine", ReturnType = typeof(LegacyLighting))]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
80 get
81 {
82 throw null;
83 }
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x1700038E")]
88 {
89 [global::Cpp2ILInjected.Token(Token = "0x6001B7C")]
90 [global::Cpp2ILInjected.Address(RVA = "0xB4BF14", Offset = "0xB4BF14", Length = "0x4C")]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Initialize", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "LightTiles", MemberParameters = new object[]
93 {
94 typeof(int),
95 typeof(int),
96 typeof(int),
97 typeof(int)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Brightness", MemberParameters = new object[]
100 {
101 typeof(int),
102 typeof(int)
103 }, ReturnType = typeof(float))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetSubLight", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector3))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Clear", ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(Color))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor", MemberParameters = new object[]
108 {
109 typeof(Point),
111 }, ReturnType = typeof(Color))]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor", MemberParameters = new object[]
113 {
114 typeof(int),
115 typeof(int),
117 }, ReturnType = typeof(Color))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColorClamped", MemberParameters = new object[]
119 {
120 typeof(int),
121 typeof(int),
123 }, ReturnType = typeof(Color))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColorVector3", MemberParameters = new object[]
125 {
126 typeof(int),
127 typeof(int)
128 }, ReturnType = typeof(Vector3))]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetLightMap", MemberParameters = new object[] { typeof(ref Rectangle) }, ReturnType = typeof(LightMap))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetScanRegion", ReturnType = typeof(Rectangle))]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor", MemberParameters = new object[]
132 {
133 typeof(int),
134 typeof(int)
135 }, ReturnType = typeof(Color))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor9Slice", MemberParameters = new object[]
137 {
138 typeof(int),
139 typeof(int),
140 typeof(ref Color[])
141 }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor9Slice", MemberParameters = new object[]
143 {
144 typeof(int),
145 typeof(int),
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetCornerColors", MemberParameters = new object[]
149 {
150 typeof(int),
151 typeof(int),
153 typeof(float)
154 }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor4Slice", MemberParameters = new object[]
156 {
157 typeof(int),
158 typeof(int),
159 typeof(ref Color[])
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "GetColor4Slice", MemberParameters = new object[]
162 {
163 typeof(int),
164 typeof(int),
166 }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 43)]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUserGameState), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
169 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
170 get
171 {
172 throw null;
173 }
174 [global::Cpp2ILInjected.Token(Token = "0x6001B7D")]
175 [global::Cpp2ILInjected.Address(RVA = "0xB4BF60", Offset = "0xB4BF60", Length = "0x50")]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
179 set
180 {
181 throw null;
182 }
183 }
184
185 [global::Cpp2ILInjected.Token(Token = "0x1700038F")]
186 public static float GlobalBrightness
187 {
189 [global::Cpp2ILInjected.Token(Token = "0x6001B7E")]
190 [global::Cpp2ILInjected.Address(RVA = "0xB4BFB0", Offset = "0xB4BFB0", Length = "0x58")]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
193 get
194 {
195 throw null;
196 }
198 [global::Cpp2ILInjected.Token(Token = "0x6001B7F")]
199 [global::Cpp2ILInjected.Address(RVA = "0xB4C008", Offset = "0xB4C008", Length = "0x64")]
200 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
202 set
203 {
204 throw null;
205 }
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x6001B80")]
209 [global::Cpp2ILInjected.Address(RVA = "0xB4C06C", Offset = "0xB4C06C", Length = "0xCC")]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SelectPlayer", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMinY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMaxX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapMaxY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_updateMap", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mapTime", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_renderCount", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
219 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
220 public static void ResetLighting()
221 {
222 throw null;
223 }
224
225 [global::Cpp2ILInjected.Token(Token = "0x17000390")]
226 public static LightMode Mode
227 {
228 [global::Cpp2ILInjected.Token(Token = "0x6001B81")]
229 [global::Cpp2ILInjected.Address(RVA = "0xB4C138", Offset = "0xB4C138", Length = "0x4C")]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPulldownSetting), Member = "GetValue", ReturnType = typeof(string))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "get_UsingNewLighting", ReturnType = typeof(bool))]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "NextLightMode", ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SaveSettings", ReturnType = typeof(bool))]
234 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawBlack", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "EnsureRenderTargetContent", ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "InitTargets", MemberParameters = new object[]
237 {
238 typeof(int),
239 typeof(int)
240 }, ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__mode", ReturnType = typeof(LightMode))]
243 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
244 get
245 {
246 throw null;
247 }
248 [global::Cpp2ILInjected.Token(Token = "0x6001B82")]
249 [global::Cpp2ILInjected.Address(RVA = "0xB4C184", Offset = "0xB4C184", Length = "0x158")]
250 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISettingsOverlay), Member = "ResetSetting", MemberParameters = new object[] { typeof(GUISettingID) }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPulldownSetting), Member = "SetOption", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "Initialize", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "NextLightMode", ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "LoadSettings", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OpenLegacySettings", ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "EnsureRenderTargetContent", ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "InitTargets", MemberParameters = new object[]
259 {
260 typeof(int),
261 typeof(int)
262 }, ReturnType = typeof(void))]
263 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "set__mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__mode", ReturnType = typeof(LightMode))]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get_LegacyEngine", ReturnType = typeof(LegacyLighting))]
267 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "set__activeEngine", MemberParameters = new object[] { typeof(ILightingEngine) }, ReturnType = typeof(void))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get_NewEngine", ReturnType = typeof(LightingEngine))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_renderCount", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_renderNow", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
271 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
272 set
273 {
274 throw null;
275 }
276 }
277
278 [global::Cpp2ILInjected.Token(Token = "0x17000391")]
279 public static bool NotRetro
280 {
281 [global::Cpp2ILInjected.Token(Token = "0x6001B83")]
282 [global::Cpp2ILInjected.Address(RVA = "0xB4C2DC", Offset = "0xB4C2DC", Length = "0x58")]
283 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
284 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCurrentBackground", MemberParameters = new object[]
285 {
286 typeof(int),
287 typeof(int),
288 typeof(int),
289 typeof(int),
290 typeof(int),
292 }, ReturnType = typeof(void))]
293 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawMagmaLayer", MemberParameters = new object[]
294 {
295 typeof(int),
296 typeof(int),
297 typeof(int),
298 typeof(int),
299 typeof(int),
301 }, ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawRockLayer", MemberParameters = new object[]
303 {
304 typeof(int),
305 typeof(int),
306 typeof(int),
307 typeof(int),
308 typeof(int),
310 }, ReturnType = typeof(void))]
311 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OldDrawBackground", ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawLiquid", MemberParameters = new object[]
313 {
314 typeof(bool),
315 typeof(int),
316 typeof(float),
317 typeof(bool)
318 }, ReturnType = typeof(void))]
319 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SetBackColor", MemberParameters = new object[]
320 {
324 }, ReturnType = typeof(void))]
325 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTiles", MemberParameters = new object[]
326 {
329 typeof(int),
330 typeof(int),
331 typeof(int),
332 typeof(int),
333 typeof(bool),
334 typeof(bool),
335 typeof(bool),
336 typeof(int)
337 }, ReturnType = typeof(void))]
338 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WallDrawing), Member = "DrawWalls", MemberParameters = new object[]
339 {
342 typeof(int),
343 typeof(int),
344 typeof(int),
345 typeof(int)
346 }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__mode", ReturnType = typeof(LightMode))]
349 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
350 get
351 {
352 throw null;
353 }
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x17000392")]
357 public static bool UsingNewLighting
358 {
359 [global::Cpp2ILInjected.Token(Token = "0x6001B84")]
360 [global::Cpp2ILInjected.Address(RVA = "0xB4C334", Offset = "0xB4C334", Length = "0x58")]
361 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
362 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "GetAreaToLight", MemberParameters = new object[]
363 {
364 typeof(ref int),
365 typeof(ref int),
366 typeof(ref int),
367 typeof(ref int)
368 }, ReturnType = typeof(void))]
369 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get_Mode", ReturnType = typeof(LightMode))]
371 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
372 get
373 {
374 throw null;
375 }
376 }
377
378 [global::Cpp2ILInjected.Token(Token = "0x17000393")]
379 public static bool UpdateEveryFrame
380 {
381 [global::Cpp2ILInjected.Token(Token = "0x6001B85")]
382 [global::Cpp2ILInjected.Address(RVA = "0xB4C38C", Offset = "0xB4C38C", Length = "0x8")]
383 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
384 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "PreDrawTiles", MemberParameters = new object[]
385 {
386 typeof(bool),
387 typeof(bool),
388 typeof(bool)
389 }, ReturnType = typeof(void))]
390 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
391 get
392 {
393 throw null;
394 }
395 }
396
397 [global::Cpp2ILInjected.Token(Token = "0x6001B86")]
398 [global::Cpp2ILInjected.Address(RVA = "0xB4C394", Offset = "0xB4C394", Length = "0xD8")]
399 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
400 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCapture", MemberParameters = new object[]
402 {
405 }, ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SetDisplayMode", MemberParameters = new object[]
407 {
408 typeof(int),
409 typeof(int),
410 typeof(bool)
411 }, ReturnType = typeof(void))]
412 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get_NewEngine", ReturnType = typeof(LightingEngine))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LightingEngine), Member = "Rebuild", ReturnType = typeof(void))]
415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get_LegacyEngine", ReturnType = typeof(LegacyLighting))]
416 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LegacyLighting), Member = "Rebuild", ReturnType = typeof(void))]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
419 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
420 public static void Initialize(bool resized = false)
421 {
422 throw null;
423 }
424
425 [global::Cpp2ILInjected.Token(Token = "0x6001B87")]
426 [global::Cpp2ILInjected.Address(RVA = "0xB4C46C", Offset = "0xB4C46C", Length = "0x168")]
427 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
428 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCapture", MemberParameters = new object[]
429 {
432 }, ReturnType = typeof(void))]
433 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateWeather", MemberParameters = new object[]
434 {
436 typeof(int)
437 }, ReturnType = typeof(void))]
438 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoLightTiles", ReturnType = typeof(void))]
439 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
440 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
441 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_render", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
442 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "UpdateGlobalBrightness", ReturnType = typeof(void))]
443 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
445 {
446 typeof(int),
447 typeof(int),
448 typeof(int),
449 typeof(int)
450 }, ReturnType = typeof(void))]
451 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
452 public static void LightTiles(int firstX, int lastX, int firstY, int lastY)
453 {
454 throw null;
455 }
456
457 [global::Cpp2ILInjected.Token(Token = "0x6001B88")]
458 [global::Cpp2ILInjected.Address(RVA = "0xB4C5D4", Offset = "0xB4C5D4", Length = "0x124")]
459 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
460 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "LightTiles", MemberParameters = new object[]
461 {
462 typeof(int),
463 typeof(int),
464 typeof(int),
465 typeof(int)
466 }, ReturnType = typeof(void))]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
469 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
470 private static void UpdateGlobalBrightness()
471 {
472 throw null;
473 }
474
475 [global::Cpp2ILInjected.Token(Token = "0x6001B89")]
476 [global::Cpp2ILInjected.Address(RVA = "0xB4C6F8", Offset = "0xB4C6F8", Length = "0x148")]
477 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
478 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
479 {
481 typeof(NPC),
482 typeof(bool),
484 }, ReturnType = typeof(void))]
485 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_14_EntityHealthBars", ReturnType = typeof(void))]
486 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_Healthbar_Worm", MemberParameters = new object[]
487 {
488 typeof(NPC),
489 typeof(int),
490 typeof(float)
491 }, ReturnType = typeof(void))]
492 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWires", ReturnType = typeof(void))]
493 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
494 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
495 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
496 public static float Brightness(int x, int y)
497 {
498 throw null;
499 }
500
501 [global::Cpp2ILInjected.Token(Token = "0x6001B8A")]
502 [global::Cpp2ILInjected.Address(RVA = "0xB4C840", Offset = "0xB4C840", Length = "0x3E4")]
503 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
504 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ReflectiveArmorShaderData), Member = "Apply", MemberParameters = new object[]
505 {
506 typeof(Entity),
508 }, ReturnType = typeof(void))]
509 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
510 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
511 {
513 typeof(float)
514 }, ReturnType = typeof(Vector2))]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
516 {
517 typeof(float),
518 typeof(float)
519 }, ReturnType = typeof(void))]
520 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
521 {
524 }, ReturnType = typeof(Vector2))]
525 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
526 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "Lerp", MemberParameters = new object[]
527 {
530 typeof(float)
531 }, ReturnType = typeof(Vector3))]
532 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
533 public static Vector3 GetSubLight(Vector2 position)
534 {
535 throw null;
536 }
537
538 [global::Cpp2ILInjected.Token(Token = "0x6001B8B")]
539 [global::Cpp2ILInjected.Address(RVA = "0xB4CC24", Offset = "0xB4CC24", Length = "0xB8")]
540 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
541 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
542 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "UpdateItem_VisualEffects", ReturnType = typeof(void))]
543 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
544 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_065_Butterflies", ReturnType = typeof(void))]
545 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_120_HallowBoss", ReturnType = typeof(void))]
546 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_117_BloodNautilus", ReturnType = typeof(void))]
547 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_112_FairyCritter", ReturnType = typeof(void))]
548 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
549 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
550 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_EmitHeldItemLight", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
551 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "ProjLight", ReturnType = typeof(void))]
552 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
553 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_195_JimsDrone", ReturnType = typeof(void))]
554 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_191_TrueNightsEdge", ReturnType = typeof(void))]
555 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_190_NightsEdge", ReturnType = typeof(void))]
556 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_182_FinalFractal", ReturnType = typeof(void))]
557 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_167_SparkleGuitar", ReturnType = typeof(void))]
558 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_166_Dove", ReturnType = typeof(void))]
559 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_165_Whip", ReturnType = typeof(void))]
560 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
561 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_157_SharpTears", ReturnType = typeof(void))]
562 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_007_GrapplingHooks", ReturnType = typeof(void))]
563 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_147_Celeb2Rocket", ReturnType = typeof(void))]
564 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_001", ReturnType = typeof(void))]
565 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_043", ReturnType = typeof(void))]
566 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_130_FlameBurstTower", ReturnType = typeof(void))]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateEffects", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
568 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 46)]
569 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
570 public static void AddLight(Vector2 position, Vector3 rgb)
571 {
572 throw null;
573 }
574
575 [global::Cpp2ILInjected.Token(Token = "0x6001B8C")]
576 [global::Cpp2ILInjected.Address(RVA = "0xB4CED4", Offset = "0xB4CED4", Length = "0xB8")]
577 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
578 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
579 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "UpdateItem", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
580 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "UpdateItem_VisualEffects", ReturnType = typeof(void))]
581 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
582 {
584 typeof(int)
585 }, ReturnType = typeof(void))]
586 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
587 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_121_QueenSlime", ReturnType = typeof(void))]
588 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_007_TownEntities", ReturnType = typeof(void))]
589 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
590 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_026_Unicorns", ReturnType = typeof(void))]
591 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_CastLights", ReturnType = typeof(void))]
592 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateArmorSets", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
593 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WingFrame", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
594 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_EmitHeldItemLight", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
595 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
596 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_100_Medusa", ReturnType = typeof(void))]
597 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_120_StardustGuardian", ReturnType = typeof(void))]
598 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_019_Spears", ReturnType = typeof(void))]
599 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
600 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_007_GrapplingHooks", ReturnType = typeof(void))]
601 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_001", ReturnType = typeof(void))]
602 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_008", ReturnType = typeof(void))]
603 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_014", ReturnType = typeof(void))]
604 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_029", ReturnType = typeof(void))]
605 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_044", ReturnType = typeof(void))]
606 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_062", ReturnType = typeof(void))]
607 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_066", ReturnType = typeof(void))]
608 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_075", ReturnType = typeof(void))]
609 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_138_ExplosiveTrap", ReturnType = typeof(void))]
610 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_140_MonkStaffT1", ReturnType = typeof(void))]
611 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_142_MonkStaffT2And3", ReturnType = typeof(void))]
612 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "UpdateLightningBunnySparks", ReturnType = typeof(void))]
613 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
614 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateFrame", MemberParameters = new object[]
615 {
616 typeof(Player),
617 typeof(int),
619 }, ReturnType = typeof(void))]
620 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateEffects", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
621 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GasParticle), Member = "Update", MemberParameters = new object[] { typeof(ref ParticleRendererSettings) }, ReturnType = typeof(void))]
622 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(VoidLensHelper), Member = "Update", ReturnType = typeof(void))]
623 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PotionOfReturnGateHelper), Member = "Update", ReturnType = typeof(void))]
624 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 82)]
625 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "AddLight", MemberParameters = new object[]
626 {
627 typeof(int),
628 typeof(int),
629 typeof(float),
630 typeof(float),
631 typeof(float)
632 }, ReturnType = typeof(void))]
633 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
634 public static void AddLight(Vector2 position, float r, float g, float b)
635 {
636 throw null;
637 }
638
639 [global::Cpp2ILInjected.Token(Token = "0x6001B8D")]
640 [global::Cpp2ILInjected.Address(RVA = "0xB4CF8C", Offset = "0xB4CF8C", Length = "0x1EC")]
641 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
642 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
643 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
644 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TorchID), Member = "TorchColor", MemberParameters = new object[]
645 {
646 typeof(int),
647 typeof(ref float),
648 typeof(ref float),
649 typeof(ref float)
650 }, ReturnType = typeof(void))]
651 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = ".ctor", MemberParameters = new object[]
652 {
653 typeof(float),
654 typeof(float),
655 typeof(float)
656 }, ReturnType = typeof(void))]
657 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
658 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUserGameState), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
659 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
660 public static void AddLight(int i, int j, int torchID, float lightAmount)
661 {
662 throw null;
663 }
664
665 [global::Cpp2ILInjected.Token(Token = "0x6001B8E")]
666 [global::Cpp2ILInjected.Address(RVA = "0xB4D178", Offset = "0xB4D178", Length = "0x118")]
667 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
668 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "UpdateItem_VisualEffects", ReturnType = typeof(void))]
669 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_001_Slimes", ReturnType = typeof(void))]
670 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
671 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TorchID), Member = "TorchColor", MemberParameters = new object[]
672 {
673 typeof(int),
674 typeof(ref float),
675 typeof(ref float),
676 typeof(ref float)
677 }, ReturnType = typeof(void))]
678 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "AddLight", MemberParameters = new object[]
679 {
680 typeof(int),
681 typeof(int),
682 typeof(float),
683 typeof(float),
684 typeof(float)
685 }, ReturnType = typeof(void))]
686 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
687 public static void AddLight(Vector2 position, int torchID)
688 {
689 throw null;
690 }
691
692 [global::Cpp2ILInjected.Token(Token = "0x6001B8F")]
693 [global::Cpp2ILInjected.Address(RVA = "0xB4CCDC", Offset = "0xB4CCDC", Length = "0x1F8")]
694 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
695 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
696 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "UpdateItem_VisualEffects", ReturnType = typeof(void))]
697 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "AddLight", MemberParameters = new object[]
698 {
700 typeof(float),
701 typeof(float),
702 typeof(float)
703 }, ReturnType = typeof(void))]
704 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "AddLight", MemberParameters = new object[]
705 {
707 typeof(int)
708 }, ReturnType = typeof(void))]
709 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
710 {
712 typeof(int)
713 }, ReturnType = typeof(void))]
714 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
715 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_065_Butterflies", ReturnType = typeof(void))]
716 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_037_Destroyer", ReturnType = typeof(void))]
717 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_005_EaterOfSouls", ReturnType = typeof(void))]
718 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_002_FloatingEye", ReturnType = typeof(void))]
719 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_003_Fighters", ReturnType = typeof(void))]
720 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI_001_Slimes", ReturnType = typeof(void))]
721 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_UpdateTrails", ReturnType = typeof(void))]
722 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_BuffApplyVFX", ReturnType = typeof(void))]
723 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_CastLights", ReturnType = typeof(void))]
724 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateBuffs", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
725 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ApplyEquipFunctional", MemberParameters = new object[]
726 {
727 typeof(int),
728 typeof(Item)
729 }, ReturnType = typeof(void))]
730 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
731 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateArmorLights", ReturnType = typeof(void))]
732 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PlayerFrame", ReturnType = typeof(void))]
733 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_EmitUseVisuals", MemberParameters = new object[]
734 {
735 typeof(Item),
737 }, ReturnType = typeof(Rectangle))]
738 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "ProjLight", ReturnType = typeof(void))]
739 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
740 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_001", ReturnType = typeof(void))]
741 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_026", ReturnType = typeof(void))]
742 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_075", ReturnType = typeof(void))]
743 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DelegateMethods), Member = "CastLightFunc", MemberParameters = new object[]
744 {
745 typeof(int),
746 typeof(int)
747 }, ReturnType = typeof(bool))]
748 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DelegateMethods), Member = "CastLightOpenFunc", MemberParameters = new object[]
749 {
750 typeof(int),
751 typeof(int)
752 }, ReturnType = typeof(bool))]
753 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DelegateMethods), Member = "CastLightOpen_StopForSolids_ScaleWithDistance", MemberParameters = new object[]
754 {
755 typeof(int),
756 typeof(int)
757 }, ReturnType = typeof(bool))]
758 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DelegateMethods), Member = "CastLightOpen_StopForSolids", MemberParameters = new object[]
759 {
760 typeof(int),
761 typeof(int)
762 }, ReturnType = typeof(bool))]
763 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DelegateMethods), Member = "SpreadLightOpen_StopForSolids", MemberParameters = new object[]
764 {
765 typeof(int),
766 typeof(int)
767 }, ReturnType = typeof(bool))]
768 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
769 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "Hover", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
770 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateFrame", MemberParameters = new object[]
771 {
772 typeof(Player),
773 typeof(int),
775 }, ReturnType = typeof(void))]
776 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateEffects", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
777 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "AimAbility", MemberParameters = new object[]
778 {
779 typeof(Player),
781 }, ReturnType = typeof(bool))]
782 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterfallManager), Member = "DrawWaterfall", MemberParameters = new object[]
783 {
785 typeof(int),
786 typeof(float)
787 }, ReturnType = typeof(void))]
788 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTrees", ReturnType = typeof(void))]
789 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 136)]
790 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHostOnly", ReturnType = typeof(bool))]
791 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = ".ctor", MemberParameters = new object[]
792 {
793 typeof(float),
794 typeof(float),
795 typeof(float)
796 }, ReturnType = typeof(void))]
797 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
798 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LocalUserGameState), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
799 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
800 public static void AddLight(int i, int j, float r, float g, float b)
801 {
802 throw null;
803 }
804
805 [global::Cpp2ILInjected.Token(Token = "0x6001B90")]
806 [global::Cpp2ILInjected.Address(RVA = "0xB4D290", Offset = "0xB4D290", Length = "0x14C")]
807 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
808 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get_Mode", ReturnType = typeof(LightMode))]
809 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "set_Mode", MemberParameters = new object[] { typeof(LightMode) }, ReturnType = typeof(void))]
810 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(RuntimeTypeHandle) }, ReturnType = typeof(Type))]
811 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "IsDefined", MemberParameters = new object[]
812 {
813 typeof(Type),
814 typeof(object)
815 }, ReturnType = typeof(bool))]
816 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "Clear", ReturnType = typeof(void))]
817 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
818 public static void NextLightMode()
819 {
820 throw null;
821 }
822
823 [global::Cpp2ILInjected.Token(Token = "0x6001B91")]
824 [global::Cpp2ILInjected.Address(RVA = "0xB4D3DC", Offset = "0xB4D3DC", Length = "0xC0")]
825 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
826 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Lighting), Member = "NextLightMode", ReturnType = typeof(void))]
827 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main.<>c", Member = "<Initialize>b__1845_0", ReturnType = typeof(void))]
828 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw_UpdateCameraPosition", ReturnType = typeof(void))]
829 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Teleport", MemberParameters = new object[]
830 {
832 typeof(int),
833 typeof(int)
834 }, ReturnType = typeof(void))]
835 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Spawn", MemberParameters = new object[] { typeof(PlayerSpawnContext) }, ReturnType = typeof(void))]
836 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldMap), Member = "Load", ReturnType = typeof(void))]
837 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
838 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
839 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
840 public static void Clear()
841 {
842 throw null;
843 }
844
845 [global::Cpp2ILInjected.Token(Token = "0x6001B92")]
846 [global::Cpp2ILInjected.Address(RVA = "0xB4D49C", Offset = "0xB4D49C", Length = "0x1FC")]
847 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
848 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_NightsEdge", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
849 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_Excalibur", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
850 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_TheHorsemansBlade", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
851 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_TrueExcalibur", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
852 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_TrueNightsEdge", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
853 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_TerraBlade2", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
854 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_TerraBlade2Shot", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
855 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
856 {
858 typeof(int)
859 }, ReturnType = typeof(void))]
860 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_PiercingStarlight", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
861 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_BoneWhip", MemberParameters = new object[]
862 {
865 }, ReturnType = typeof(Vector2))]
866 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_CoolWhip", MemberParameters = new object[]
867 {
870 }, ReturnType = typeof(Vector2))]
871 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_FireWhip", MemberParameters = new object[]
872 {
875 }, ReturnType = typeof(Vector2))]
876 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_RainbowWhip", MemberParameters = new object[]
877 {
880 }, ReturnType = typeof(Vector2))]
881 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_ThornWhip", MemberParameters = new object[]
882 {
885 }, ReturnType = typeof(Vector2))]
886 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_WhipSword", MemberParameters = new object[]
887 {
890 }, ReturnType = typeof(Vector2))]
891 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_WhipMace", MemberParameters = new object[]
892 {
895 }, ReturnType = typeof(Vector2))]
896 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_WhipScythe", MemberParameters = new object[]
897 {
900 }, ReturnType = typeof(Vector2))]
901 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip_WhipBland", MemberParameters = new object[]
902 {
905 }, ReturnType = typeof(Vector2))]
906 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawTwinsPet", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
907 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawMultisegmentPet", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
908 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawKite", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
909 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawItem", MemberParameters = new object[]
910 {
911 typeof(Item),
912 typeof(int)
913 }, ReturnType = typeof(void))]
914 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawStar", MemberParameters = new object[]
915 {
917 typeof(float),
918 typeof(Color),
919 typeof(int),
920 typeof(Star),
921 typeof(bool),
922 typeof(bool)
923 }, ReturnType = typeof(void))]
924 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawLayers), Member = "DrawPlayer_38_EyebrellaCloud", MemberParameters = new object[] { typeof(ref PlayerDrawSet) }, ReturnType = typeof(void))]
925 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LittleFlyingCritterParticle), Member = "Draw", MemberParameters = new object[]
926 {
929 }, ReturnType = typeof(void))]
930 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GasParticle), Member = "Draw", MemberParameters = new object[]
931 {
934 }, ReturnType = typeof(void))]
935 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(VoidLensHelper), Member = "DrawToDrawData", MemberParameters = new object[]
936 {
938 typeof(int)
939 }, ReturnType = typeof(void))]
940 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PotionOfReturnGateHelper), Member = "DrawToDrawData", MemberParameters = new object[]
941 {
943 typeof(int)
944 }, ReturnType = typeof(void))]
945 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 32)]
946 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
947 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
948 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
949 {
951 typeof(float)
952 }, ReturnType = typeof(Vector3))]
953 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
954 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
956 {
957 throw null;
958 }
959
960 [global::Cpp2ILInjected.Token(Token = "0x6001B93")]
961 [global::Cpp2ILInjected.Address(RVA = "0xB4D698", Offset = "0xB4D698", Length = "0x1BC")]
962 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
963 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWhip", MemberParameters = new object[] { typeof(Projectile) }, ReturnType = typeof(void))]
964 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
965 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
966 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
967 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector3", ReturnType = typeof(Vector3))]
968 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
969 {
972 }, ReturnType = typeof(Vector3))]
973 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
974 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
976 {
977 throw null;
978 }
979
980 [global::Cpp2ILInjected.Token(Token = "0x6001B94")]
981 [global::Cpp2ILInjected.Address(RVA = "0xB4D854", Offset = "0xB4D854", Length = "0x1BC")]
982 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
983 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
984 {
986 typeof(int)
987 }, ReturnType = typeof(void))]
988 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_FishingLine", MemberParameters = new object[]
989 {
991 typeof(ref float),
992 typeof(ref float),
994 }, ReturnType = typeof(void))]
995 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyPlayerRenderer), Member = "DrawPlayerStoned", MemberParameters = new object[]
996 {
997 typeof(Camera),
998 typeof(Player),
1000 }, ReturnType = typeof(void))]
1001 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyPlayerRenderer), Member = "DrawGhost", MemberParameters = new object[]
1002 {
1003 typeof(Camera),
1004 typeof(Player),
1005 typeof(Vector2),
1006 typeof(float)
1007 }, ReturnType = typeof(void))]
1008 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
1009 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
1010 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1011 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector3", ReturnType = typeof(Vector3))]
1012 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
1013 {
1014 typeof(Vector3),
1016 }, ReturnType = typeof(Vector3))]
1017 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
1018 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1019 public static Color GetColor(int x, int y, Color oldColor)
1020 {
1021 throw null;
1022 }
1023
1024 [global::Cpp2ILInjected.Token(Token = "0x6001B95")]
1025 [global::Cpp2ILInjected.Address(RVA = "0xB4DA10", Offset = "0xB4DA10", Length = "0x200")]
1026 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1027 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawSet), Member = "BoringSetup", MemberParameters = new object[]
1028 {
1029 typeof(Player),
1030 typeof(DrawData[]),
1033 typeof(Vector2),
1034 typeof(float),
1035 typeof(float),
1037 }, ReturnType = typeof(void))]
1038 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawLayers), Member = "DrawPlayer_21_Head", MemberParameters = new object[] { typeof(ref PlayerDrawSet) }, ReturnType = typeof(void))]
1039 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1040 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
1041 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1042 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "Min", MemberParameters = new object[]
1043 {
1044 typeof(Vector3),
1046 }, ReturnType = typeof(Vector3))]
1047 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector3", ReturnType = typeof(Vector3))]
1048 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
1049 {
1050 typeof(Vector3),
1052 }, ReturnType = typeof(Vector3))]
1053 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
1054 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
1055 public static Color GetColorClamped(int x, int y, Color oldColor)
1056 {
1057 throw null;
1058 }
1059
1060 [global::Cpp2ILInjected.Token(Token = "0x6001B96")]
1061 [global::Cpp2ILInjected.Address(RVA = "0xB4DC10", Offset = "0xB4DC10", Length = "0x174")]
1062 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1063 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawSet), Member = "BoringSetup", MemberParameters = new object[]
1064 {
1065 typeof(Player),
1066 typeof(DrawData[]),
1069 typeof(Vector2),
1070 typeof(float),
1071 typeof(float),
1073 }, ReturnType = typeof(void))]
1074 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
1075 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
1076 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1077 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
1078 public static Vector3 GetColorVector3(int x, int y)
1079 {
1080 throw null;
1081 }
1082
1083 [global::Cpp2ILInjected.Token(Token = "0x6001B97")]
1084 [global::Cpp2ILInjected.Address(RVA = "0xB4DD84", Offset = "0xB4DD84", Length = "0xC8")]
1085 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1086 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCs", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1087 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCachedNPCs", MemberParameters = new object[]
1088 {
1090 typeof(bool)
1091 }, ReturnType = typeof(void))]
1092 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawDust", ReturnType = typeof(void))]
1093 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCurrentBackground", MemberParameters = new object[]
1094 {
1095 typeof(int),
1096 typeof(int),
1097 typeof(int),
1098 typeof(int),
1099 typeof(int),
1101 }, ReturnType = typeof(void))]
1102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawMagmaLayer", MemberParameters = new object[]
1103 {
1104 typeof(int),
1105 typeof(int),
1106 typeof(int),
1107 typeof(int),
1108 typeof(int),
1110 }, ReturnType = typeof(void))]
1111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawRockLayer", MemberParameters = new object[]
1112 {
1113 typeof(int),
1114 typeof(int),
1115 typeof(int),
1116 typeof(int),
1117 typeof(int),
1119 }, ReturnType = typeof(void))]
1120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawBackground", ReturnType = typeof(void))]
1121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawBlack", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LockOnHelper), Member = "RefreshTargets", MemberParameters = new object[]
1123 {
1124 typeof(Vector2),
1125 typeof(float)
1126 }, ReturnType = typeof(void))]
1127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTiles", MemberParameters = new object[]
1128 {
1129 typeof(Vector2),
1130 typeof(Vector2),
1131 typeof(int),
1132 typeof(int),
1133 typeof(int),
1134 typeof(int),
1135 typeof(bool),
1136 typeof(bool),
1137 typeof(bool),
1138 typeof(int)
1139 }, ReturnType = typeof(void))]
1140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawLiquidBehindTiles", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawVineStrip", MemberParameters = new object[]
1142 {
1143 typeof(Vector2),
1144 typeof(Vector2),
1145 typeof(int),
1146 typeof(int)
1147 }, ReturnType = typeof(void))]
1148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WallDrawing), Member = "DrawWalls", MemberParameters = new object[]
1149 {
1150 typeof(Vector2),
1151 typeof(Vector2),
1152 typeof(int),
1153 typeof(int),
1154 typeof(int),
1155 typeof(int)
1156 }, ReturnType = typeof(void))]
1157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LiquidRenderer), Member = "DrawNormalLiquids", MemberParameters = new object[]
1158 {
1160 typeof(Vector2),
1161 typeof(int),
1162 typeof(float),
1163 typeof(bool)
1164 }, ReturnType = typeof(void))]
1165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 14)]
1166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1167 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
1169 {
1170 throw null;
1171 }
1172
1173 [global::Cpp2ILInjected.Token(Token = "0x6001B98")]
1174 [global::Cpp2ILInjected.Address(RVA = "0xB4DE4C", Offset = "0xB4DE4C", Length = "0xC0")]
1175 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MapHelper), Member = "CreateMapTile", MemberParameters = new object[]
1177 {
1178 typeof(int),
1179 typeof(int),
1180 typeof(byte)
1181 }, ReturnType = typeof(MapTile))]
1182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1184 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
1185 public static Rectangle GetScanRegion()
1186 {
1187 throw null;
1188 }
1189
1190 [global::Cpp2ILInjected.Token(Token = "0x6001B99")]
1191 [global::Cpp2ILInjected.Address(RVA = "0xB4BB50", Offset = "0xB4BB50", Length = "0x210")]
1192 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Dust), Member = "UpdateDust", ReturnType = typeof(void))]
1194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HitTile), Member = "DrawFreshAnimations", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
1195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawGoreBehind", ReturnType = typeof(void))]
1196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawGore", ReturnType = typeof(void))]
1197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCs", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
1199 {
1201 typeof(NPC),
1202 typeof(bool),
1204 }, ReturnType = typeof(void))]
1205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
1206 {
1208 typeof(NPC),
1209 typeof(bool),
1210 typeof(Vector2),
1213 }, ReturnType = typeof(void))]
1214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
1215 {
1217 typeof(int)
1218 }, ReturnType = typeof(void))]
1219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_FlailChains", MemberParameters = new object[]
1220 {
1223 }, ReturnType = typeof(void))]
1224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProj_FlailChains_Old", MemberParameters = new object[]
1225 {
1228 }, ReturnType = typeof(void))]
1229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWOFBody", ReturnType = typeof(void))]
1230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWOFRopeToTheHungry", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWOFTongueToPlayer", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
1232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawRain", ReturnType = typeof(void))]
1233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCHousesInWorld", ReturnType = typeof(void))]
1234 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWallOfFish", ReturnType = typeof(void))]
1235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSmartCursor", ReturnType = typeof(void))]
1236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSmartInteract", ReturnType = typeof(void))]
1237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OldDrawBackground", ReturnType = typeof(void))]
1238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawTileInWater", MemberParameters = new object[]
1239 {
1241 typeof(Vector2),
1242 typeof(int),
1243 typeof(int),
1244 typeof(byte),
1245 typeof(short),
1246 typeof(short)
1247 }, ReturnType = typeof(void))]
1248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "oldDrawWater", MemberParameters = new object[]
1249 {
1250 typeof(bool),
1251 typeof(int),
1252 typeof(float)
1253 }, ReturnType = typeof(void))]
1254 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawWires", ReturnType = typeof(void))]
1255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawTileCracks", MemberParameters = new object[]
1256 {
1257 typeof(int),
1259 }, ReturnType = typeof(void))]
1260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_CastLights", ReturnType = typeof(void))]
1261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "GetHairColor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(Color))]
1262 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
1263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WaterfallManager), Member = "DrawWaterfall", MemberParameters = new object[]
1264 {
1266 typeof(int),
1267 typeof(float)
1268 }, ReturnType = typeof(void))]
1269 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Initializers.DyeInitializer.<>c", Member = "<LoadLegacyHairdyes>b__5_10", MemberParameters = new object[]
1270 {
1271 typeof(Player),
1272 typeof(Color),
1273 typeof(ref bool)
1274 }, ReturnType = typeof(Color))]
1275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawSet), Member = "BoringSetup", MemberParameters = new object[]
1276 {
1277 typeof(Player),
1278 typeof(DrawData[]),
1281 typeof(Vector2),
1282 typeof(float),
1283 typeof(float),
1285 }, ReturnType = typeof(void))]
1286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawLayers), Member = "DrawPlayer_27_HeldItem", MemberParameters = new object[] { typeof(ref PlayerDrawSet) }, ReturnType = typeof(void))]
1287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DontStarveDarknessDamageDealer), Member = "IsPlayerSafe", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
1288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawXmasTree", MemberParameters = new object[]
1289 {
1290 typeof(Vector2),
1291 typeof(Vector2),
1292 typeof(int),
1293 typeof(int),
1295 }, ReturnType = typeof(void))]
1296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "GetTileDrawData", MemberParameters = new object[]
1297 {
1298 typeof(int),
1299 typeof(int),
1301 typeof(ushort),
1302 typeof(ref short),
1303 typeof(ref short),
1304 typeof(ref int),
1305 typeof(ref int),
1306 typeof(ref int),
1307 typeof(ref int),
1308 typeof(ref int),
1309 typeof(ref int),
1314 }, ReturnType = typeof(void))]
1315 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "GetTileDrawData", MemberParameters = new object[]
1316 {
1317 typeof(int),
1318 typeof(int),
1319 typeof(bool),
1320 typeof(ushort),
1321 typeof(ref short),
1322 typeof(ref short),
1323 typeof(ref int),
1324 typeof(ref int),
1325 typeof(ref int),
1326 typeof(ref int),
1327 typeof(ref int),
1328 typeof(ref int),
1333 }, ReturnType = typeof(void))]
1334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "GetTileDrawData", MemberParameters = new object[]
1335 {
1336 typeof(int),
1337 typeof(int),
1338 typeof(Tile),
1339 typeof(ushort),
1340 typeof(ref short),
1341 typeof(ref short),
1342 typeof(ref int),
1343 typeof(ref int),
1344 typeof(ref int),
1345 typeof(ref int),
1346 typeof(ref int),
1347 typeof(ref int),
1352 }, ReturnType = typeof(void))]
1353 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawSpecialTilesLegacy", MemberParameters = new object[]
1354 {
1355 typeof(Vector2),
1357 }, ReturnType = typeof(void))]
1358 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTrees", ReturnType = typeof(void))]
1359 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawGrass", ReturnType = typeof(void))]
1360 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawAnyDirectionalGrass", ReturnType = typeof(void))]
1361 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawMasterTrophies", ReturnType = typeof(void))]
1362 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawTeleportationPylons", ReturnType = typeof(void))]
1363 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawMultiTileGrassInWind", MemberParameters = new object[]
1364 {
1365 typeof(Vector2),
1366 typeof(Vector2),
1367 typeof(int),
1368 typeof(int),
1369 typeof(int),
1370 typeof(int)
1371 }, ReturnType = typeof(void))]
1372 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawRisingVineStrip", MemberParameters = new object[]
1373 {
1374 typeof(Vector2),
1375 typeof(Vector2),
1376 typeof(int),
1377 typeof(int)
1378 }, ReturnType = typeof(void))]
1379 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawing), Member = "DrawMultiTileVinesInWind", MemberParameters = new object[]
1380 {
1381 typeof(Vector2),
1382 typeof(Vector2),
1383 typeof(int),
1384 typeof(int),
1385 typeof(int),
1386 typeof(int)
1387 }, ReturnType = typeof(void))]
1388 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "GetLight", ReturnType = typeof(Color))]
1389 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 131)]
1390 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
1391 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1392 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
1393 public static Color GetColor(int x, int y)
1394 {
1395 throw null;
1396 }
1397
1398 [global::Cpp2ILInjected.Token(Token = "0x6001B9A")]
1399 [global::Cpp2ILInjected.Address(RVA = "0xB4DF0C", Offset = "0xB4DF0C", Length = "0x2C8")]
1400 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OldDrawBackground", ReturnType = typeof(void))]
1402 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1403 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1404 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
1405 public static void GetColor9Slice(int centerX, int centerY, ref Color[] slices)
1406 {
1407 throw null;
1408 }
1409
1410 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
1411 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
1412 [global::Cpp2ILInjected.Token(Token = "0x6001B9B")]
1413 [global::Cpp2ILInjected.Address(RVA = "0xB4E1D4", Offset = "0xB4E1D4", Length = "0x82C")]
1414 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1415 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1416 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
1418 {
1419 typeof(Vector3),
1420 typeof(float)
1421 }, ReturnType = typeof(Vector3))]
1422 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
1423 public static void GetColor9Slice(int x, int y, ref Vector3[] slices)
1424 {
1425 throw null;
1426 }
1427
1428 [global::Cpp2ILInjected.Token(Token = "0x6001B9C")]
1429 [global::Cpp2ILInjected.Address(RVA = "0xB4EA00", Offset = "0xB4EA00", Length = "0x7D4")]
1430 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1431 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OldDrawBackground", ReturnType = typeof(void))]
1432 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1433 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1434 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "set_PackedValue", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(void))]
1435 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
1436 public static void GetCornerColors(int centerX, int centerY, out VertexColors vertices, float scale = 1f)
1437 {
1438 throw null;
1439 }
1440
1441 [global::Cpp2ILInjected.Token(Token = "0x6001B9D")]
1442 [global::Cpp2ILInjected.Address(RVA = "0xB4F1D4", Offset = "0xB4F1D4", Length = "0xCB4")]
1443 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1444 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "OldDrawBackground", ReturnType = typeof(void))]
1445 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1447 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
1448 {
1449 typeof(int),
1450 typeof(int),
1451 typeof(int),
1452 typeof(int)
1453 }, ReturnType = typeof(void))]
1454 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 51)]
1455 public static void GetColor4Slice(int centerX, int centerY, ref Color[] slices)
1456 {
1457 throw null;
1458 }
1459
1460 [global::Cpp2ILInjected.Token(Token = "0x6001B9E")]
1461 [global::Cpp2ILInjected.Address(RVA = "0xB4FE88", Offset = "0xB4FE88", Length = "0x534")]
1462 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1463 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "get__activeEngine", ReturnType = typeof(ILightingEngine))]
1465 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Multiply", MemberParameters = new object[]
1466 {
1467 typeof(Vector3),
1468 typeof(float)
1469 }, ReturnType = typeof(Vector3))]
1470 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
1471 public static void GetColor4Slice(int x, int y, ref Vector3[] slices)
1472 {
1473 throw null;
1474 }
1475
1476 [global::Cpp2ILInjected.Token(Token = "0x6001B9F")]
1477 [global::Cpp2ILInjected.Address(RVA = "0xB503BC", Offset = "0xB503BC", Length = "0x8")]
1478 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1479 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1480 public Lighting()
1481 {
1482 throw null;
1483 }
1484
1485 // Note: this type is marked as 'beforefieldinit'.
1486 [global::Cpp2ILInjected.Token(Token = "0x6001BA0")]
1487 [global::Cpp2ILInjected.Address(RVA = "0xB503C4", Offset = "0xB503C4", Length = "0x104C")]
1488 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1489 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1490 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1491 static Lighting()
1492 {
1493 throw null;
1494 }
1495
1496 [global::Cpp2ILInjected.Token(Token = "0x40028CD")]
1497 private const float DEFAULT_GLOBAL_BRIGHTNESS = 1.2f;
1498
1499 [global::Cpp2ILInjected.Token(Token = "0x40028CE")]
1500 private const float BLIND_GLOBAL_BRIGHTNESS = 1f;
1501
1503 [global::Cpp2ILInjected.Token(Token = "0x40028CF")]
1504 private static float <GlobalBrightness>k__BackingField;
1505
1506 [Obsolete]
1507 [global::Cpp2ILInjected.Token(Token = "0x40028D0")]
1508 public static int OffScreenTiles;
1509 }
1510}
class f__AnonymousType0<< Count > j__TPar
GUISettingID
static void GetColor9Slice(int x, int y, ref Vector3[] slices)
Definition Lighting.cs:1423
static Lighting()
Definition Lighting.cs:1491
static void GetCornerColors(int centerX, int centerY, out VertexColors vertices, float scale=1f)
Definition Lighting.cs:1436
static ILightingEngine _activeEngine
Definition Lighting.cs:88
static void AddLight(Vector2 position, float r, float g, float b)
Definition Lighting.cs:634
static Color GetColor(Point tileCoords)
Definition Lighting.cs:955
static void NextLightMode()
Definition Lighting.cs:818
static void AddLight(int i, int j, float r, float g, float b)
Definition Lighting.cs:800
static void GetColor9Slice(int centerX, int centerY, ref Color[] slices)
Definition Lighting.cs:1405
static void GetColor4Slice(int x, int y, ref Vector3[] slices)
Definition Lighting.cs:1471
static void Initialize(bool resized=false)
Definition Lighting.cs:420
static bool UsingNewLighting
Definition Lighting.cs:358
static Color GetColor(Point tileCoords, Color originalColor)
Definition Lighting.cs:975
static Color GetColorClamped(int x, int y, Color oldColor)
Definition Lighting.cs:1055
static bool NotRetro
Definition Lighting.cs:280
static LightingEngine NewEngine
Definition Lighting.cs:56
static void Clear()
Definition Lighting.cs:840
static LegacyLighting LegacyEngine
Definition Lighting.cs:72
static void GetColor4Slice(int centerX, int centerY, ref Color[] slices)
Definition Lighting.cs:1455
static float< GlobalBrightness > k__BackingField
Definition Lighting.cs:1504
static void ResetLighting()
Definition Lighting.cs:220
static LightMode Mode
Definition Lighting.cs:227
static void LightTiles(int firstX, int lastX, int firstY, int lastY)
Definition Lighting.cs:452
static Vector3 GetSubLight(Vector2 position)
Definition Lighting.cs:533
static bool UpdateEveryFrame
Definition Lighting.cs:380
static Color GetColor(int x, int y, Color oldColor)
Definition Lighting.cs:1019
static float Brightness(int x, int y)
Definition Lighting.cs:496
static float GlobalBrightness
Definition Lighting.cs:187
static void UpdateGlobalBrightness()
Definition Lighting.cs:470
static void AddLight(Vector2 position, int torchID)
Definition Lighting.cs:687
static Rectangle GetScanRegion()
Definition Lighting.cs:1185
static LightMap GetLightMap(out Rectangle lightMapRegion)
Definition Lighting.cs:1168
static int OffScreenTiles
Definition Lighting.cs:1508
static LightMode _mode
Definition Lighting.cs:31
static Vector3 GetColorVector3(int x, int y)
Definition Lighting.cs:1078
static void AddLight(Vector2 position, Vector3 rgb)
Definition Lighting.cs:570
static Color GetColor(int x, int y)
Definition Lighting.cs:1393
static void AddLight(int i, int j, int torchID, float lightAmount)
Definition Lighting.cs:660