AudioEvents.h 456 B

12345678910111213141516171819
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. #pragma once
  4. #include "../Core/Object.h"
  5. namespace Urho3D
  6. {
  7. /// Sound playback finished. Sent through the SoundSource's Node.
  8. URHO3D_EVENT(E_SOUNDFINISHED, SoundFinished)
  9. {
  10. URHO3D_PARAM(P_NODE, Node); // Node pointer
  11. URHO3D_PARAM(P_SOUNDSOURCE, SoundSource); // SoundSource pointer
  12. URHO3D_PARAM(P_SOUND, Sound); // Sound pointer
  13. }
  14. }