Priority Deliveries (#36968)
This commit is contained in:
19
Content.Shared/ComponentTable/ComponentTableComponent.cs
Normal file
19
Content.Shared/ComponentTable/ComponentTableComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.EntityTable.EntitySelectors;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.ComponentTable;
|
||||
|
||||
/// <summary>
|
||||
/// Applies components from entities selected from the table on init.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(SharedComponentTableSystem))]
|
||||
public sealed partial class ComponentTableComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The table from which to grab entities.
|
||||
/// ALL components of the grabbed entities will be added to the holder of this component.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public EntityTableSelector Table = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user