2020-09-13 14:23:52 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using Robust.Shared.GameObjects;
|
2020-08-25 08:54:23 -04:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.GameObjects.Components.ActionBlocking
|
|
|
|
|
|
{
|
2021-02-06 03:11:21 +11:00
|
|
|
|
public abstract class SharedHandcuffComponent : Component
|
2020-08-25 08:54:23 -04:00
|
|
|
|
{
|
|
|
|
|
|
public override string Name => "Handcuff";
|
|
|
|
|
|
public override uint? NetID => ContentNetIDs.HANDCUFFS;
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
protected sealed class HandcuffedComponentState : ComponentState
|
|
|
|
|
|
{
|
|
|
|
|
|
public string IconState { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public HandcuffedComponentState(string iconState) : base(ContentNetIDs.HANDCUFFS)
|
|
|
|
|
|
{
|
|
|
|
|
|
IconState = iconState;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|