public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return(Info.Instance().Search(Info.Instance().Weapons, (uint)value)?.Name); }
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { return(Info.Instance().Members[(int)value].Value); }