SurgeryPartRemovedConditionComponent.cs 926 B

123456789101112131415161718192021222324252627
  1. // SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
  3. // SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
  4. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  5. //
  6. // SPDX-License-Identifier: AGPL-3.0-or-later
  7. using Content.Shared.Body.Part;
  8. using Robust.Shared.GameStates;
  9. namespace Content.Shared._Shitmed.Medical.Surgery.Conditions;
  10. [RegisterComponent, NetworkedComponent]
  11. public sealed partial class SurgeryPartRemovedConditionComponent : Component
  12. {
  13. /// <summary>
  14. /// Requires that the parent part can attach a new part to this slot.
  15. /// </summary>
  16. [DataField(required: true)]
  17. public string Connection = string.Empty;
  18. [DataField]
  19. public BodyPartType Part;
  20. [DataField]
  21. public BodyPartSymmetry? Symmetry;
  22. }