* Fix effects - Fix muzzle flash rotations. - Fix effects so they update every frame. - Fix effects tanking client performance. * Fix merge artifact
23 lines
520 B
C#
23 lines
520 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Weapons.Ranged.Events;
|
|
|
|
/// <summary>
|
|
/// Raised whenever a muzzle flash client-side entity needs to be spawned.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class MuzzleFlashEvent : EntityEventArgs
|
|
{
|
|
public NetEntity Uid;
|
|
public string Prototype;
|
|
|
|
public Angle Angle;
|
|
|
|
public MuzzleFlashEvent(NetEntity uid, string prototype, Angle angle)
|
|
{
|
|
Uid = uid;
|
|
Prototype = prototype;
|
|
Angle = angle;
|
|
}
|
|
}
|