TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ RequestLight()

static void Terraria.GameContent.Events.MoonlordDeathDrama.RequestLight ( float light,
Vector2 spot )
inlinestatic

Definition at line 385 of file MoonlordDeathDrama.cs.

386 {
387 //IL_0005: Unknown result type (might be due to invalid IL or missing references)
388 _lightSources.Add(spot);
389 if (light > 1f)
390 {
391 light = 1f;
392 }
393 if (requestedLight < light)
394 {
395 requestedLight = light;
396 }
397 }

References Terraria.GameContent.Events.MoonlordDeathDrama._lightSources, and Terraria.GameContent.Events.MoonlordDeathDrama.requestedLight.

Referenced by Terraria.NPC.VanillaAI_Inner().

+ Here is the caller graph for this function: