* Add a modifier event for GunComponent values * Add docs * Add VV readwrite to modified values * Add more docs * More docs * Add Gun parameter to GunRefreshModifiersEvent * Add another event for handling cartridge spread * Fix pneumatic speed
9 lines
329 B
C#
9 lines
329 B
C#
namespace Content.Shared.Weapons.Ranged.Events;
|
|
|
|
/// <summary>
|
|
/// Raised directed on the gun entity when a muzzle flash is about to happen.
|
|
/// </summary>
|
|
/// <param name="Cancelled">If set to true, the muzzle flash will not be shown.</param>
|
|
[ByRefEvent]
|
|
public record struct GunMuzzleFlashAttemptEvent(bool Cancelled);
|