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

◆ GetGolfTrailColor()

static Color Terraria.Projectile.GetGolfTrailColor ( Projectile proj)
inlinestatic

Definition at line 10422 of file Projectile.cs.

10423 {
10424 //IL_006a: Unknown result type (might be due to invalid IL or missing references)
10425 //IL_007b: Unknown result type (might be due to invalid IL or missing references)
10426 //IL_008c: Unknown result type (might be due to invalid IL or missing references)
10427 //IL_00a0: Unknown result type (might be due to invalid IL or missing references)
10428 //IL_00b1: Unknown result type (might be due to invalid IL or missing references)
10429 //IL_00c5: Unknown result type (might be due to invalid IL or missing references)
10430 //IL_00d9: Unknown result type (might be due to invalid IL or missing references)
10431 //IL_00ea: Unknown result type (might be due to invalid IL or missing references)
10432 //IL_00fe: Unknown result type (might be due to invalid IL or missing references)
10433 //IL_010f: Unknown result type (might be due to invalid IL or missing references)
10434 //IL_0123: Unknown result type (might be due to invalid IL or missing references)
10435 //IL_0137: Unknown result type (might be due to invalid IL or missing references)
10436 //IL_014b: Unknown result type (might be due to invalid IL or missing references)
10437 //IL_015f: Unknown result type (might be due to invalid IL or missing references)
10438 //IL_005c: Unknown result type (might be due to invalid IL or missing references)
10439 return (Color)(proj.type switch
10440 {
10441 739 => new Color(50, 50, 50, 80),
10442 740 => new Color(30, 50, 255, 40),
10443 741 => new Color(150, 90, 60, 90),
10444 742 => new Color(30, 255, 170, 30),
10445 743 => new Color(30, 255, 30, 40),
10446 744 => new Color(190, 255, 30, 50),
10447 745 => new Color(255, 130, 30, 50),
10448 746 => new Color(255, 50, 110, 50),
10449 747 => new Color(130, 10, 200, 40),
10450 748 => new Color(255, 30, 50, 50),
10451 749 => new Color(100, 180, 255, 30),
10452 750 => new Color(50, 240, 160, 30),
10453 751 => new Color(220, 80, 220, 70),
10454 752 => new Color(255, 180, 50, 30),
10455 _ => new Color(160, 160, 255, 50),
10456 });
10457 }

Referenced by Terraria.Main.DrawProj_DrawNormalProjs().

+ Here is the caller graph for this function: