24 lines
550 B
C#
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;
|
|
}
|
|
}
|