Class LinkedEntityComponent
Represents an entity which is linked to other entities (perhaps portals), and which can be walked through/ thrown into to teleport an entity.
Inheritance
System.Object
LinkedEntityComponent
Namespace: Content.Shared.Teleportation.Components
Assembly: Content.Shared.dll
Syntax
public sealed class LinkedEntityComponent : Component
Fields
| Improve this Doc View SourceDeleteOnEmptyLinks
Should this entity be deleted if all of its links are removed?
Declaration
public bool DeleteOnEmptyLinks
Field Value
Type | Description |
---|---|
System.Boolean |
LinkedEntities
The entities that this entity is linked to.
Declaration
public HashSet<EntityUid> LinkedEntities
Field Value
Type | Description |
---|---|
HashSet<EntityUid> |