using System; using System.Collections; using System.Collections.Generic; using BITKit; using Unity.Mathematics; using UnityEngine; namespace Net.Project.B.Inventory { public interface IPlayerPlateInventory { IReadOnlyDictionary Plates { get; } IReadOnlyDictionary PlateSlotProviders { get; } public event Action OnPlateAdded; public event Action OnPlateRemoved; public event Action OnPlateDamaged ; public event Action OnPlateDestroyed ; public event Action OnPlateSlotsUpdated; public event Action OnSlotsUpdated; public event Action OnArmorPointsUpdated; int2 PlateSlots { get; } int2 ArmorPoints { get; } bool AddPlateSlotProvider(int key, int count); bool RemovePlateSlotProvider(int key); bool TryAddPlate(IRuntimeItem item); bool TryRemovePlate(int id); } }