Files
tbd-station-14/Content.Shared/Effects/ColorFlashEffectEvent.cs
2023-09-11 09:42:41 +10: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<NetEntity> Entities;
public ColorFlashEffectEvent(Color color, List<NetEntity> entities)
{
Color = color;
Entities = entities;
}
}