terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ UpdateLightToSkyColor()

void Terraria.Graphics.Light.LegacyLighting.UpdateLightToSkyColor ( float tileR,
float tileG,
float tileB )
inlineprivate

Definition at line 218 of file LegacyLighting.cs.

219 {
221 if (this == null)
222 {
223 }
224 int y = this._activeProcessedArea.Y;
225 LightMap activeLightMap = this._activeLightMap;
226 Vector3[] colors = activeLightMap._colors;
227 int <Height>k__BackingField = activeLightMap.<Height>k__BackingField;
228 if (colors != null && <Height>k__BackingField != 0)
229 {
230 return;
231 }
232 if (colors == null)
233 {
234 }
235 int y2 = this._activeProcessedArea.Y;
236 float skyColor = this._skyColor;
237 if (y2 == 0)
238 {
239 }
240 if (y2 != 0)
241 {
242 float skyColor2 = this._skyColor;
243 }
244 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Graphics.Light.LegacyLighting._activeLightMap, Terraria.Graphics.Light.LegacyLighting._activeProcessedArea, Terraria.Graphics.Light.LegacyLighting._skyColor, j__TPar, Terraria.Graphics.Light.LegacyLighting.k__BackingField, and Microsoft.Xna.Framework.Rectangle.Y.