Class ItemPlacerComponent
Detects items placed on it that match a whitelist.
Inheritance
System.Object
ItemPlacerComponent
Namespace: Content.Shared.Placeable
Assembly: Content.Shared.dll
Syntax
public sealed class ItemPlacerComponent : Component
Fields
| Improve this Doc View SourceMaxEntities
The max amount of entities that can be placed at the same time. If 0, there is no limit.
Declaration
public uint MaxEntities
Field Value
Type | Description |
---|---|
System.UInt32 |
PlacedEntities
The entities that are currently on top of the placer. Guaranteed to have less than MaxEntities enitities if it is set.
Declaration
public HashSet<EntityUid> PlacedEntities
Field Value
Type | Description |
---|---|
HashSet<EntityUid> |
Whitelist
Whitelist for entities that can be placed.
Declaration
public EntityWhitelist Whitelist
Field Value
Type | Description |
---|---|
EntityWhitelist |