using System.Numerics; using Robust.Shared.GameStates; using Robust.Shared.Utility; namespace Content.Shared.Administration.Components; /// /// Displays a sprite above an entity. /// By default a huge sign saying "KILL". /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState(raiseAfterAutoHandleState: true)] public sealed partial class KillSignComponent : Component { /// /// The sprite show above the entity. /// [DataField, AutoNetworkedField] public SpriteSpecifier? Sprite = new SpriteSpecifier.Rsi(new ResPath("Objects/Misc/killsign.rsi"), "kill"); /// /// Whether the granted layer should always be forced to be unshaded. /// [DataField, AutoNetworkedField] public bool ForceUnshaded = true; /// /// Whether the granted layer should be offset to be above the entity. /// [DataField, AutoNetworkedField] public bool DoOffset = true; /// /// Prevents the sign from displaying to the owner of the component, allowing everyone but them to see it. /// [DataField, AutoNetworkedField] public bool HideFromOwner = false; /// /// The scale of the sprite. /// [DataField, AutoNetworkedField] public Vector2 Scale = Vector2.One; }