using System; using Content.Client.Items.UI; using Robust.Client.UserInterface; using Robust.Shared.GameObjects; namespace Content.Client.Items.Managers { public interface IItemSlotManager { bool OnButtonPressed(GUIBoundKeyEventArgs args, EntityUid item); void UpdateCooldown(ItemSlotButton? cooldownTexture, EntityUid entity); bool SetItemSlot(ItemSlotButton button, EntityUid entity); void HoverInSlot(ItemSlotButton button, EntityUid entity, bool fits); event Action? EntityHighlightedUpdated; bool IsHighlighted(EntityUid uid); /// /// Highlight all slot controls that contain the specified entity. /// /// The UID of the entity to highlight. /// void HighlightEntity(EntityUid uid); /// /// Remove highlighting for the specified entity. /// /// The UID of the entity to unhighlight. /// void UnHighlightEntity(EntityUid uid); } }