6
StarHorizon_Public/Content.Shared/Clothing/Components/ToggleClothingPrefixComponent.cs
2026-01-24 12:49:55 +03:00

23 lines
572 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Clothing.Components;
/// <summary>
/// Handles the changes to ClothingComponent.EquippedPrefix when toggled.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ToggleClothingPrefixComponent : Component
{
/// <summary>
/// Clothing's EquippedPrefix when activated.
/// </summary>
[DataField]
public string? PrefixOn = "on";
/// <summary>
/// Clothing's EquippedPrefix when deactivated.
/// </summary>
[DataField]
public string? PrefixOff;
}