6
2025-08-05 10:00:54 +03:00

22 lines
570 B
C#

using Content.Server.Atmos.EntitySystems;
namespace Content.Server.Atmos.Components
{
[RegisterComponent]
public sealed partial class AtmosPlaqueComponent : Component
{
[DataField("plaqueType")] public PlaqueType Type = PlaqueType.Unset;
[ViewVariables(VVAccess.ReadWrite)]
public PlaqueType TypeVV
{
get => Type;
set
{
Type = value;
IoCManager.Resolve<IEntityManager>().System<AtmosPlaqueSystem>().UpdateSign(Owner, this);
}
}
}
}