2019-04-15 21:11:38 -06:00
|
|
|
|
using Robust.Shared.Interfaces.GameObjects;
|
2017-09-26 21:27:48 +02:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Interfaces.GameObjects
|
|
|
|
|
|
{
|
|
|
|
|
|
// HYPER SIMPLE HANDS API CLIENT SIDE.
|
|
|
|
|
|
// To allow for showing the HUD, mostly.
|
|
|
|
|
|
public interface IHandsComponent
|
|
|
|
|
|
{
|
|
|
|
|
|
IEntity GetEntity(string index);
|
2017-09-30 16:56:19 +02:00
|
|
|
|
string ActiveIndex { get; }
|
2018-12-13 14:49:57 +01:00
|
|
|
|
IEntity ActiveHand { get; }
|
2017-09-30 16:56:19 +02:00
|
|
|
|
|
|
|
|
|
|
void SendChangeHand(string index);
|
2018-11-21 20:58:11 +01:00
|
|
|
|
void AttackByInHand(string index);
|
2020-01-17 06:43:20 -08:00
|
|
|
|
void UseActiveHand();
|
2020-01-17 18:41:47 -08:00
|
|
|
|
void ActivateItemInHand(string handIndex);
|
2020-05-14 17:49:40 +02:00
|
|
|
|
void RefreshInHands();
|
2017-09-26 21:27:48 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|