Files
tbd-station-14/Content.Shared/Effects/ColorFlashEffectEvent.cs
2023-08-10 10:44:52 -07:00

24 lines
550 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Effects;
/// <summary>
/// Raised on the server and sent to a client to play the color flash animation.
/// </summary>
[Serializable, NetSerializable]
public sealed class ColorFlashEffectEvent : EntityEventArgs
{
/// <summary>
/// Color to play for the flash.
/// </summary>
public Color Color;
public List<EntityUid> Entities;
public ColorFlashEffectEvent(Color color, List<EntityUid> entities)
{
Color = color;
Entities = entities;
}
}