Files
OldThink/Content.Server/_White/SecurityHud/SecurityHudComponent.cs
Aviu00 231927a577 Security update (#323)
* add: security hud update

* access & fix names

* translates

* fix

* - fix: Fixes.

* - fix: Условно-досрочно.

---------

Co-authored-by: CaYpeN1 <artem7771art@gmail.com>
2024-06-01 16:28:21 +03:00

21 lines
775 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Content.Shared.Radio;
using Content.Shared.StatusIcon;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
namespace Content.Server._White.SecurityHud;
[RegisterComponent]
public sealed partial class SecurityHudComponent : Component
{
[ViewVariables(VVAccess.ReadOnly)]
[DataField("criminalrecords", customTypeSerializer: typeof(PrototypeIdListSerializer<StatusIconPrototype>))]
public IReadOnlyCollection<string> Status = ArraySegment<string>.Empty;
[ViewVariables(VVAccess.ReadOnly)]
public ProtoId<RadioChannelPrototype> SecurityChannel = "Security";
[ViewVariables(VVAccess.ReadOnly)]
public string Reason = "Изменено с помощью визора";
}