internal static GearGroup GroupTypeForItemType(string type) { var cls = BaseList.FirstOrDefault(b => b.ItemType == type); if (cls != null) { return(cls.GearGroup); } return(GearGroup.Unknown); }