Files
tbd-station-14/Content.Shared/Sticky/Components/StickyVisualizerComponent.cs
Alex Evgrashin fe4dbfd2f6 C4 (#7486)
2022-04-14 15:00:50 -07:00

28 lines
664 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Sticky.Components;
using DrawDepth;
[RegisterComponent]
public sealed class StickyVisualizerComponent : Component
{
/// <summary>
/// What sprite draw depth set when entity stuck.
/// </summary>
[DataField("stuckDrawDepth")]
[ViewVariables(VVAccess.ReadWrite)]
public int StuckDrawDepth = (int) DrawDepth.Overdoors;
/// <summary>
/// What sprite draw depth set when entity unstuck.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public int DefaultDrawDepth;
}
[Serializable, NetSerializable]
public enum StickyVisuals : byte
{
IsStuck
}