6
StarHorizon_Public/Content.Shared/Containers/SharedThrowInsertContainerSystem.cs
2025-11-15 12:24:44 +03:00

9 lines
292 B
C#

namespace Content.Shared.Containers;
/// <summary>
/// Sent before the insertion is made.
/// Allows preventing the insertion if any system on the entity should need to.
/// </summary>
[ByRefEvent]
public record struct BeforeThrowInsertEvent(EntityUid ThrownEntity, bool Cancelled = false);