using Content.Shared.Database; using Content.Shared.Random; using Content.Shared.Trigger.Components.Triggers; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.Trigger.Components.Effects; /// /// This component creates an admin log when receiving a trigger. /// is ignored. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class AdminLogOnTriggerComponent : BaseXOnTriggerComponent { /// /// The message displayed in the logs describing what specifically was done by this trigger. /// This entity and the user will be included alongside the message. /// [DataField(required: true), AutoNetworkedField] public LocId Message = string.Empty; /// /// What type of action took place? /// [DataField, AutoNetworkedField] public LogType LogType = LogType.Trigger; /// /// How important is this trigger? /// [DataField, AutoNetworkedField] public LogImpact LogImpact = LogImpact.Low; }