Class PartAssemblyComponent
This is used for construction which requires a set of entities with specific tags to be inserted into another entity. todo: in a pr that isn't 6k loc, combine this with MechAssemblyComponent
Inheritance
System.Object
PartAssemblyComponent
Namespace: Content.Shared.Construction.Components
Assembly: Content.Shared.dll
Syntax
public sealed class PartAssemblyComponent : Component
Fields
| Improve this Doc View SourceContainerId
The container where the parts are stored
Declaration
public string ContainerId
Field Value
Type | Description |
---|---|
System.String |
CurrentAssembly
The entry in Parts that is currently being worked on.
Declaration
public string? CurrentAssembly
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
Parts
A dictionary of a set of parts to a list of tags for each assembly.
Declaration
public Dictionary<string, List<string>> Parts
Field Value
Type | Description |
---|---|
Dictionary<System.String, List<System.String>> |
PartsContainer
The container that stores all of the parts when they're being assembled.
Declaration
public Container PartsContainer
Field Value
Type | Description |
---|---|
Robust.Shared.Containers.Container |