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

◆ GetCeleb2Color()

Color Terraria.Projectile.GetCeleb2Color ( )
inline

Definition at line 55289 of file Projectile.cs.

55290 {
55291 //IL_002e: Unknown result type (might be due to invalid IL or missing references)
55292 //IL_0034: Unknown result type (might be due to invalid IL or missing references)
55293 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
55294 //IL_0040: Unknown result type (might be due to invalid IL or missing references)
55295 //IL_0046: Unknown result type (might be due to invalid IL or missing references)
55296 //IL_0055: Unknown result type (might be due to invalid IL or missing references)
55297 //IL_005b: Unknown result type (might be due to invalid IL or missing references)
55298 //IL_0061: Unknown result type (might be due to invalid IL or missing references)
55299 return (Color)((int)ai[0] switch
55300 {
55301 0 => Color.Red,
55302 1 => Color.DarkOrange,
55303 2 => Color.Gold,
55304 3 => Color.LimeGreen,
55305 4 => Color.RoyalBlue,
55306 5 => new Color(80, 20, 180),
55307 6 => Color.HotPink,
55308 _ => Color.Transparent,
55309 });
55310 }
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....