* Refactored barsign * Check barsign for signs of life. * TryComp the sprite component * TryGetBarSignPrototype
17 lines
403 B
C#
17 lines
403 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.BarSign
|
|
{
|
|
[RegisterComponent]
|
|
public class BarSignComponent : Component
|
|
{
|
|
public override string Name => "BarSign";
|
|
|
|
[DataField("current")]
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public string? CurrentSign;
|
|
}
|
|
}
|