using Content.Shared.Singularity.Components; using Robust.Shared.Containers; namespace Content.Server.Singularity.Events; /// /// Event raised on the event horizon entity whenever an event horizon consumes an entity. /// public sealed class EntityConsumedByEventHorizonEvent : EntityEventArgs { /// /// The entity being consumed by the event horizon. /// public readonly EntityUid Entity; /// /// The event horizon consuming the entity. /// public readonly EventHorizonComponent EventHorizon; /// /// The innermost container of the entity being consumed by the event horizon that is not also in the process of being consumed by the event horizon. /// Used to correctly dump out the contents containers that are consumed by the event horizon. /// public readonly IContainer? Container; public EntityConsumedByEventHorizonEvent(EntityUid entity, EventHorizonComponent eventHorizon, IContainer? container = null) { Entity = entity; EventHorizon = eventHorizon; Container = container; } }