Show / Hide Table of Contents

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 Source

EventHorizonContainedEvent(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 Source

Args

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
| Improve this Doc View Source

Entity

The uid of the event horizon that has been contained.

Declaration
public readonly EntityUid Entity
Field Value
Type Description
EntityUid
| Improve this Doc View Source

EventHorizon

The state of the event horizon that has been contained.

Declaration
public readonly EventHorizonComponent EventHorizon
Field Value
Type Description
EventHorizonComponent
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾