| 123456789101112131415161718192021222324252627282930 |
- // SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
- // SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
- // SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
- // SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
- // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
- //
- // SPDX-License-Identifier: AGPL-3.0-or-later
- using Robust.Shared.Audio;
- using Robust.Shared.GameStates;
- namespace Content.Shared._Shitmed.Medical.Surgery.Tools;
- [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
- public sealed partial class SurgeryToolComponent : Component
- {
- [DataField, AutoNetworkedField]
- public SoundSpecifier? StartSound;
- [DataField, AutoNetworkedField]
- public SoundSpecifier? EndSound;
- }
- /// <summary>
- /// Raised on a tool to see if it can be used in a surgery step.
- /// If this is cancelled the step can't be completed.
- /// </summary>
- [ByRefEvent]
- public record struct SurgeryToolUsedEvent(EntityUid User, EntityUid Target, bool Cancelled = false);
|