Show / Hide Table of Contents

Class EventHorizonComponent

A component that makes the associated entity destroy other within some distance of itself. Also makes the associated entity destroy other entities upon contact. Primarily managed by SharedEventHorizonSystem and its server/client versions.

Inheritance
System.Object
EventHorizonComponent
Namespace: Content.Shared.Singularity.Components
Assembly: Content.Shared.dll
Syntax
public sealed class EventHorizonComponent : Component

Fields

| Improve this Doc View Source

BeingConsumedByAnotherEventHorizon

Whether the entity this event horizon is attached to is being consumed by another event horizon.

Declaration
public bool BeingConsumedByAnotherEventHorizon
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

CanBreachContainment

Whether the event horizon can consume/destroy the devices built to contain it. If you want to set this go through SetCanBreachContainment(EntityUid, Boolean, Boolean, EventHorizonComponent).

Declaration
public bool CanBreachContainment
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

ColliderFixtureId

The ID of the fixture used to detect if the event horizon has collided with any physics objects. Can be set to null, in which case no such fixture is used. If you want to set this go through .

Declaration
public string? ColliderFixtureId
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

ConsumerFixtureId

The ID of the fixture used to detect if the event horizon has collided with any physics objects. Can be set to null, in which case no such fixture is used. If you want to set this go through .

Declaration
public string? ConsumerFixtureId
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

NextConsumeWaveTime

The next time at which this consumed everything it overlapped with.

Declaration
public TimeSpan NextConsumeWaveTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

Radius

The radius of the event horizon within which it will destroy all entities and tiles. If < 0.0 this behavior will not be active. If you want to set this go through SetRadius(EntityUid, Single, Boolean, EventHorizonComponent).

Declaration
public float Radius
Field Value
Type Description
System.Single
| Improve this Doc View Source

TargetConsumePeriod

The amount of time that should elapse between this event horizon consuming everything it overlaps with.

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