fish-station/Content.Client/UserInterface/IItemSlotManager.cs
Moses 8e08c64fcf
Show if items can be placed in a slot when hovering (#1480)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2020-07-26 14:25:38 +02:00

14 lines
499 B
C#

using Content.Client.GameObjects;
using Robust.Client.UserInterface;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Client.UserInterface
{
public interface IItemSlotManager
{
bool OnButtonPressed(GUIBoundKeyEventArgs args, IEntity item);
void UpdateCooldown(ItemSlotButton cooldownTexture, IEntity entity);
bool SetItemSlot(ItemSlotButton button, IEntity entity);
void HoverInSlot(ItemSlotButton button, IEntity entity, bool fits);
}
}