2021-02-27 04:12:09 +01:00
|
|
|
using System;
|
2020-09-13 14:23:52 +02:00
|
|
|
using Robust.Shared.GameObjects;
|
2021-07-12 01:32:10 -07:00
|
|
|
using Robust.Shared.GameStates;
|
2020-08-25 08:54:23 -04:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Cuffs.Components
|
2020-08-25 08:54:23 -04:00
|
|
|
{
|
2021-07-12 01:32:10 -07:00
|
|
|
[NetworkedComponent()]
|
2021-02-06 03:11:21 +11:00
|
|
|
public abstract class SharedHandcuffComponent : Component
|
2020-08-25 08:54:23 -04:00
|
|
|
{
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
protected sealed class HandcuffedComponentState : ComponentState
|
|
|
|
|
{
|
2021-02-27 04:12:09 +01:00
|
|
|
public string? IconState { get; }
|
2020-08-25 08:54:23 -04:00
|
|
|
|
2021-07-12 01:32:10 -07:00
|
|
|
public HandcuffedComponentState(string? iconState)
|
2020-08-25 08:54:23 -04:00
|
|
|
{
|
|
|
|
|
IconState = iconState;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|