using DrawDepth = Content.Shared.DrawDepth.DrawDepth; namespace Content.Client._DV.Abilities; /// /// Changes the sprite's draw depth when some appearance data becomes true, reverting it when false. /// [RegisterComponent] public sealed partial class DrawDepthVisualizerComponent : Component { /// /// Appearance key to check. /// [DataField(required: true)] public Enum Key; /// /// The draw depth to set the sprite to when the appearance data is true. /// [DataField(required: true)] public DrawDepth Depth; [DataField] public int? OriginalDrawDepth; }