mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
21 lines
581 B
C#
21 lines
581 B
C#
using Content.Shared.Inventory;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Radio.Components;
|
|
|
|
/// <summary>
|
|
/// This component relays radio messages to the parent entity's chat when equipped.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class HeadsetComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public bool Enabled = true;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public bool IsEquipped = false;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public SlotFlags RequiredSlot = SlotFlags.EARS;
|
|
}
|