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

◆ AI_156_GetColor()

Color Terraria.Projectile.AI_156_GetColor ( )
inline

Definition at line 54144 of file Projectile.cs.

54145 {
54146 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
54147 //IL_002f: Unknown result type (might be due to invalid IL or missing references)
54148 //IL_0029: Unknown result type (might be due to invalid IL or missing references)
54149 if (aiStyle != 156)
54150 {
54151 return Color.Transparent;
54152 }
54153 bool num = type == 755;
54154 _ = type;
54155 if (num)
54156 {
54157 return Color.Crimson;
54158 }
54159 return Color.Transparent;
54160 }
int aiStyle
Selects which vanilla code to use for the AI method. Vanilla projectile AI styles are enumerated in t...
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...