Muzzle flash enhancements (#9527)
This commit is contained in:
17
Content.Shared/Weapons/Ranged/Events/MuzzleFlashEvent.cs
Normal file
17
Content.Shared/Weapons/Ranged/Events/MuzzleFlashEvent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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 string Prototype;
|
||||
|
||||
public MuzzleFlashEvent(string prototype)
|
||||
{
|
||||
Prototype = prototype;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user