2023-09-11 08:52:56 +03:00
|
|
|
|
using Content.Shared.StatusIcon;
|
|
|
|
|
|
using Robust.Shared.GameStates;
|
2024-06-03 12:12:21 -04:00
|
|
|
|
using Robust.Shared.Prototypes;
|
2023-09-11 08:52:56 +03:00
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.SSDIndicator;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Shows status icon when player in SSD
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
|
|
|
|
[AutoGenerateComponentState]
|
|
|
|
|
|
public sealed partial class SSDIndicatorComponent : Component
|
|
|
|
|
|
{
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
|
[AutoNetworkedField]
|
2024-02-01 12:30:07 +04:00
|
|
|
|
public bool IsSSD = true;
|
2023-09-11 08:52:56 +03:00
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2024-06-03 12:12:21 -04:00
|
|
|
|
[DataField]
|
2024-08-09 08:14:07 +02:00
|
|
|
|
public ProtoId<SsdIconPrototype> Icon = "SSDIcon";
|
2023-09-11 08:52:56 +03:00
|
|
|
|
}
|