internal void SetGroupSettings(GroupInfo groupInfo, Item item, string groupName) { var currentSettingName = Wheel.SettingNames[Items[CurrentSlot].SubSlot]; var currentValue = groupInfo.Settings[currentSettingName]; var map = Wheel.SettingCycleStrMap[currentSettingName]; var nextValueStr = map[currentValue].NextValue; var nextValue = Wheel.SettingStrToValues[currentSettingName][nextValueStr]; groupInfo.Settings[currentSettingName] = nextValue; groupInfo.ApplySettings(groupName); ReportGroupSettings(groupInfo, item); }