]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add marker components for admin shenanigans (#36776)
authorTayrtahn <tayrtahn@gmail.com>
Sun, 20 Apr 2025 19:08:41 +0000 (15:08 -0400)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 19:08:41 +0000 (21:08 +0200)
Content.Shared/Administration/Components/MarkerComponent.cs [new file with mode: 0644]

diff --git a/Content.Shared/Administration/Components/MarkerComponent.cs b/Content.Shared/Administration/Components/MarkerComponent.cs
new file mode 100644 (file)
index 0000000..b879595
--- /dev/null
@@ -0,0 +1,19 @@
+namespace Content.Shared.Administration.Components;
+
+/// <summary>
+/// This component does nothing. It exists for admin and testing purposes.
+/// </summary>
+/// <remarks>
+/// As an example, this component can be added to an entity and then used as
+/// the target component for a pinpointer.
+/// </remarks>
+[RegisterComponent]
+public sealed partial class MarkerOneComponent : Component;
+
+/// <inheritdoc cref="MarkerOneComponent"/>
+[RegisterComponent]
+public sealed partial class MarkerTwoComponent : Component;
+
+/// <inheritdoc cref="MarkerOneComponent"/>
+[RegisterComponent]
+public sealed partial class MarkerThreeComponent : Component;