6
StarHorizon_Public/Content.Shared/Containers/SharedThrowInsertContainerSystem.cs
2025-12-18 02:55:17 +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);