mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-11-08 12:04:16 +03:00
20 lines
549 B
C#
20 lines
549 B
C#
using Content.Shared.Actions;
|
|
using Content.Shared.Actions.ActionTypes;
|
|
|
|
namespace Content.Server.Clothing.Components
|
|
{
|
|
[Access(typeof(MaskSystem))]
|
|
[RegisterComponent]
|
|
public sealed partial class MaskComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// This mask can be toggled (pulled up/down)
|
|
/// </summary>
|
|
[DataField("toggleAction")]
|
|
public InstantAction? ToggleAction = null;
|
|
|
|
public bool IsToggled = false;
|
|
}
|
|
|
|
public sealed partial class ToggleMaskEvent : InstantActionEvent { }
|
|
}
|