fish-station/Content.Shared/_Starlight/Medical/Surgery/Events/SurgeryStepEvent.cs
Vigers Ray b52f640b5a
Порт стрельбы со старлайна (#2640)
Co-authored-by: KaiserMaus <kaiser.ratte@gmail.com>
2025-08-08 22:25:02 +03:00

22 lines
798 B
C#

using Robust.Shared.Prototypes;
// Based on the RMC14.
// https://github.com/RMC-14/RMC-14
namespace Content.Shared.Starlight.Medical.Surgery.Events;
/// <summary>
/// Raised on the step entity.
/// </summary>
[ByRefEvent]
public record struct SurgeryStepEvent(EntityUid User, EntityUid Body, EntityUid Part, List<EntityUid> Tools)
{
public required EntProtoId StepProto { get; init; }
public required EntProtoId SurgeryProto { get; init; }
public bool IsCancelled { get; set; }
}
[ByRefEvent]
public record struct SurgeryStepCompleteEvent(EntityUid User, EntityUid Body, EntityUid Part, List<EntityUid> Tools)
{
public required EntProtoId StepProto { get; init; }
public required EntProtoId SurgeryProto { get; init; }
public required bool IsFinal { get; init; }
}