AdminLogImpactButton.cs 411 B

1234567891011121314151617
  1. using Content.Shared.Administration.Logs;
  2. using Content.Shared.Database;
  3. using Robust.Client.UserInterface.Controls;
  4. namespace Content.Client.Administration.UI.CustomControls;
  5. public sealed class AdminLogImpactButton : Button
  6. {
  7. public AdminLogImpactButton(LogImpact impact)
  8. {
  9. Impact = impact;
  10. ToggleMode = true;
  11. Pressed = true;
  12. }
  13. public LogImpact Impact { get; }
  14. }