Beispiel #1
0
 private bool _isEquiped(ItemModel item)
 {
     if (item.Type.Type == ItemType.Accessory)
     {
         return(Accessories.Any(x => x.Item?.Id == item.Id));
     }
     else
     {
         return(Outfit.Any(x => x.Item?.Id == item.Id));
     }
 }