Improve hands & pulling (#4389)
This commit is contained in:
committed by
GitHub
parent
73e4946e27
commit
632e72b817
@@ -1,4 +1,5 @@
|
||||
using Content.Client.Items.UI;
|
||||
using System;
|
||||
using Content.Client.Items.UI;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
@@ -10,5 +11,21 @@ namespace Content.Client.Items.Managers
|
||||
void UpdateCooldown(ItemSlotButton? cooldownTexture, IEntity? entity);
|
||||
bool SetItemSlot(ItemSlotButton button, IEntity? entity);
|
||||
void HoverInSlot(ItemSlotButton button, IEntity? entity, bool fits);
|
||||
event Action<EntitySlotHighlightedEventArgs>? EntityHighlightedUpdated;
|
||||
bool IsHighlighted(EntityUid uid);
|
||||
|
||||
/// <summary>
|
||||
/// Highlight all slot controls that contain the specified entity.
|
||||
/// </summary>
|
||||
/// <param name="uid">The UID of the entity to highlight.</param>
|
||||
/// <seealso cref="UnHighlightEntity"/>
|
||||
void HighlightEntity(EntityUid uid);
|
||||
|
||||
/// <summary>
|
||||
/// Remove highlighting for the specified entity.
|
||||
/// </summary>
|
||||
/// <param name="uid">The UID of the entity to unhighlight.</param>
|
||||
/// <seealso cref="HighlightEntity"/>
|
||||
void UnHighlightEntity(EntityUid uid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user