using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Ranged.Events;
///
/// Raised whenever a muzzle flash client-side entity needs to be spawned.
///
[Serializable, NetSerializable]
public sealed class MuzzleFlashEvent : EntityEventArgs
{
public NetEntity Uid;
public string Prototype;
///
/// Should the effect match the rotation of the entity.
///
public bool MatchRotation;
public MuzzleFlashEvent(NetEntity uid, string prototype, bool matchRotation = false)
{
Uid = uid;
Prototype = prototype;
MatchRotation = matchRotation;
}
}