SurgeryMarkingConditionComponent.cs 997 B

12345678910111213141516171819202122232425262728293031
  1. // SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
  2. // SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
  3. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  4. //
  5. // SPDX-License-Identifier: AGPL-3.0-or-later
  6. using Content.Shared.Humanoid;
  7. using Robust.Shared.GameStates;
  8. namespace Content.Shared._Shitmed.Medical.Surgery.Conditions;
  9. [RegisterComponent, NetworkedComponent]
  10. public sealed partial class SurgeryMarkingConditionComponent : Component
  11. {
  12. [DataField]
  13. public bool Inverse;
  14. /// <summary>
  15. /// The marking category to check for.
  16. /// </summary>
  17. [DataField]
  18. public HumanoidVisualLayers MarkingCategory = default!;
  19. /// <summary>
  20. /// Can be either a segment of a marking ID, or an entire ID that will be checked
  21. /// against the entity to validate that the marking is not already present.
  22. /// </summary>
  23. [DataField]
  24. public String MatchString = "";
  25. }