mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
17 lines
499 B
C#
17 lines
499 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Body;
|
|
|
|
/// <summary>
|
|
/// An organ that can be a parent to other organs.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(OrganRelationSystem))]
|
|
public sealed partial class ParentOrganComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The current set of child organs parented to this one.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public HashSet<EntityUid> Children = new();
|
|
}
|