GetFootstepSoundEvent.cs 440 B

1234567891011121314151617
  1. using Robust.Shared.Audio;
  2. namespace Content.Shared.Movement.Events;
  3. /// <summary>
  4. /// Raised directed on an entity when trying to get a relevant footstep sound
  5. /// </summary>
  6. [ByRefEvent]
  7. public record struct GetFootstepSoundEvent(EntityUid User)
  8. {
  9. public readonly EntityUid User = User;
  10. /// <summary>
  11. /// Set the sound to specify a footstep sound and mark as handled.
  12. /// </summary>
  13. public SoundSpecifier? Sound;
  14. }