Class EventHorizonContainedEvent
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.
Inheritance
System.Object
EventHorizonContainedEvent
Namespace: Content.Shared.Singularity.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class EventHorizonContainedEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceEventHorizonContainedEvent(EntityUid, EventHorizonComponent, EntGotInsertedIntoContainerMessage)
Declaration
public EventHorizonContainedEvent(EntityUid entity, EventHorizonComponent eventHorizon, EntGotInsertedIntoContainerMessage args)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | entity | |
EventHorizonComponent | eventHorizon | |
Robust.Shared.Containers.EntGotInsertedIntoContainerMessage | args |
Fields
| Improve this Doc View SourceArgs
The arguments of the action that resulted in the event horizon being contained.
Declaration
public readonly EntGotInsertedIntoContainerMessage Args
Field Value
Type | Description |
---|---|
Robust.Shared.Containers.EntGotInsertedIntoContainerMessage |
Entity
The uid of the event horizon that has been contained.
Declaration
public readonly EntityUid Entity
Field Value
Type | Description |
---|---|
EntityUid |
EventHorizon
The state of the event horizon that has been contained.
Declaration
public readonly EventHorizonComponent EventHorizon
Field Value
Type | Description |
---|---|
EventHorizonComponent |