Files
tbd-station-14/Content.Shared/Flash/Components/FlashImmunityComponent.cs
slarticodefast b83d00b792 Predict Flashes (#37640)
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-06-23 13:32:56 +02:00

19 lines
560 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Flash.Components;
/// <summary>
/// Makes the entity immune to being flashed.
/// When given to clothes in the "head", "eyes" or "mask" slot it protects the wearer.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedFlashSystem))]
public sealed partial class FlashImmunityComponent : Component
{
/// <summary>
/// Is this component currently enabled?
/// </summary>
[DataField, AutoNetworkedField]
public bool Enabled = true;
}