Definition at line 2233 of file ItemSlot.cs.
2234 {
2235 color =
default(
Color);
2236 if (loadoutIndex < 0 || loadoutIndex >= 3)
2237 {
2238 return false;
2239 }
2240 int num = -1;
2241 switch (context)
2242 {
2243 case 8:
2244 case 10:
2245 num = 0;
2246 break;
2247 case 9:
2248 case 11:
2249 num = 1;
2250 break;
2251 case 12:
2252 num = 2;
2253 break;
2254 }
2255 if (num == -1)
2256 {
2257 return false;
2258 }
2260 return true;
2261 }
static Color[,] LoadoutSlotColors
References Terraria.UI.ItemSlot.LoadoutSlotColors.
Referenced by Terraria.UI.ItemSlot.GetColorByLoadout().