* Readonly, typos and redundant string interpolations * Namespaces * Optimize imports * Address reviews * but actually * Localize missing strings * Remove redundant vars
24 lines
674 B
C#
24 lines
674 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.ActionBlocking
|
|
{
|
|
public class SharedHandcuffComponent : Component
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|