SurgeryCanPerformStepEvent.cs 789 B

123456789101112131415161718192021
  1. // SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
  3. // SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
  4. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  5. //
  6. // SPDX-License-Identifier: AGPL-3.0-or-later
  7. using Content.Shared.Inventory;
  8. namespace Content.Shared._Shitmed.Medical.Surgery.Steps;
  9. [ByRefEvent]
  10. public record struct SurgeryCanPerformStepEvent(
  11. EntityUid User,
  12. EntityUid Body,
  13. List<EntityUid> Tools,
  14. SlotFlags TargetSlots,
  15. string? Popup = null,
  16. StepInvalidReason Invalid = StepInvalidReason.None,
  17. Dictionary<EntityUid, float>? ValidTools = null
  18. ) : IInventoryRelayEvent;