Files
OldThink/Content.Shared/Effects/ColorFlashEffectEvent.cs

24 lines
550 B
C#
Raw Permalink Normal View History

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;
}
2023-08-11 03:44:52 +10:00
}