2022-06-30 03:44:53 -04:00
|
|
|
using Content.Shared.Actions;
|
|
|
|
|
using Content.Shared.Actions.ActionTypes;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Clothing.Components
|
|
|
|
|
{
|
|
|
|
|
[Access(typeof(MaskSystem))]
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class MaskComponent : Component
|
2022-06-30 03:44:53 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This mask can be toggled (pulled up/down)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("toggleAction")]
|
|
|
|
|
public InstantAction? ToggleAction = null;
|
|
|
|
|
|
|
|
|
|
public bool IsToggled = false;
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class ToggleMaskEvent : InstantActionEvent { }
|
2022-06-30 03:44:53 -04:00
|
|
|
}
|