using Robust.Shared.Containers; using Content.Shared.Singularity.Components; namespace Content.Shared.Singularity.EntitySystems; /// /// An event queued when an event horizon is contained (put into a container). /// Exists to delay the event horizon eating its way out of the container until events relating to the insertion have been processed. /// Needs to be a class because ref structs can't be put into the queue. /// public sealed class EventHorizonContainedEvent : EntityEventArgs { /// /// The uid of the event horizon that has been contained. /// public readonly EntityUid Entity; /// /// The state of the event horizon that has been contained. /// public readonly EventHorizonComponent EventHorizon; /// /// The arguments of the action that resulted in the event horizon being contained. /// public readonly EntGotInsertedIntoContainerMessage Args; public EventHorizonContainedEvent(EntityUid entity, EventHorizonComponent eventHorizon, EntGotInsertedIntoContainerMessage args) { Entity = entity; EventHorizon = eventHorizon; Args = args; } }