Files
crystall-punk-14/Content.Shared/Movement/Events/GetFootstepSoundEvent.cs

18 lines
440 B
C#
Raw Permalink Normal View History

2023-04-10 15:37:03 +10:00
using Robust.Shared.Audio;
namespace Content.Shared.Movement.Events;
/// <summary>
/// Raised directed on an entity when trying to get a relevant footstep sound
/// </summary>
[ByRefEvent]
public record struct GetFootstepSoundEvent(EntityUid User)
{
public readonly EntityUid User = User;
/// <summary>
/// Set the sound to specify a footstep sound and mark as handled.
/// </summary>
public SoundSpecifier? Sound;
}