public object?Convert(object?value, Type targetType, object parameter, CultureInfo culture) { if (value == null) { return(null); } var id = (ulong)value; var cl = Game.IsMe(id) ? Game.Me.Class : TccUtils.IsEntitySpawned(id) ? TccUtils.GetEntityClass(id) : Class.None; if (cl == Class.None) { return(null); } return(TccUtils.SvgClass(cl)); }