using Content.Shared.Actions; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.Clothing.Components; /// /// This is used for a clothing item that gives a speed modification that is toggleable. /// [RegisterComponent, NetworkedComponent, Access(typeof(ClothingSpeedModifierSystem)), AutoGenerateComponentState] public sealed partial class ToggleClothingSpeedComponent : Component { /// /// The action for toggling the clothing. /// [DataField] public EntProtoId ToggleAction = "ActionToggleSpeedBoots"; /// /// The action entity /// [DataField, AutoNetworkedField] public EntityUid? ToggleActionEntity; /// /// The state of the toggle. /// [DataField, AutoNetworkedField] public bool Enabled; } public sealed partial class ToggleClothingSpeedEvent : InstantActionEvent { }