LeviLamina
Loading...
Searching...
No Matches
SoundPlayerInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8
9// auto generated forward declare list
10// clang-format off
11class SoundItem;
12class Vec3;
17namespace Core { class Path; }
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 0
25 virtual ~SoundPlayerInterface() /*override*/ = default;
26
27 // vIndex: 1
28 virtual uint64 play(::std::string const&, ::Vec3 const&, float, float) = 0;
29
30 // vIndex: 2
31 virtual uint64 playUI(::std::string const&, float, float) = 0;
32
33 // vIndex: 4
34 virtual void playMusic(::std::string const&, float, uint&) = 0;
35
36 // vIndex: 3
37 virtual void playMusic(::std::string const&, float) = 0;
38
39 // vIndex: 5
40 virtual bool isLoadingMusic() const = 0;
41
42 // vIndex: 6
43 virtual bool isPlayingMusicEvent(::std::string const&) const = 0;
44
45 // vIndex: 7
46 virtual bool isPlayingMusic(::Core::Path const&) const = 0;
47
48 // vIndex: 8
49 virtual void fadeToStopMusic(float) = 0;
50
51 // vIndex: 9
52 virtual void setMusicCommandVolumeMultiplier(float) = 0;
53
54 // vIndex: 10
55 virtual void fadeOut(uint64, float) = 0;
56
57 // vIndex: 11
58 virtual void stopMusic() = 0;
59
60 // vIndex: 13
61 virtual void stop(::std::string const&) = 0;
62
63 // vIndex: 12
64 virtual void stop(uint64) = 0;
65
66 // vIndex: 14
67 virtual void stopAllSounds() = 0;
68
69 // vIndex: 15
70 virtual ::Core::PathBuffer<::std::string> const getCurrentlyPlayingMusicName() = 0;
71
72 // vIndex: 16
73 virtual bool getItem(::std::string const&, ::Core::Path const&, ::SoundItem&) const = 0;
74
75 // vIndex: 17
76 virtual uint64 registerLoop(::std::string const&, ::std::function<void(::LoopingSoundState&)>, float, float) = 0;
77
78 // vIndex: 18
79 virtual void unregisterLoop(uint64, bool) = 0;
80
81 // vIndex: 20
82 virtual bool isPlayingSound(uint64) const = 0;
83
84 // vIndex: 19
85 virtual bool isPlayingSound(::Core::Path const&) const = 0;
86
87 // vIndex: 21
88 virtual uint64 playAttached(::std::string const&, ::std::function<void(::SoundInstanceProperties&)>&&) = 0;
89
90 // vIndex: 22
91 virtual void stopAllDelayedSoundActions() = 0;
92
93 // vIndex: 23
94 virtual ::std::optional<::PlayingSoundAttributes> tryGetPlayingSoundAttributes(uint64) const = 0;
95
96 // vIndex: 24
97 virtual ::std::optional<::LoopingSoundAttributes> tryGetLoopingSoundAttributes(uint64) const = 0;
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109
110 // NOLINTEND
111};
Definition EnableNonOwnerReferences.h:7
Definition Path.h:15
Definition Path.h:16
Definition SoundItem.h:5
Definition SoundPlayerInterface.h:20
Definition Vec3.h:10
Definition LoopingSoundAttributes.h:8
Definition LoopingSoundState.h:5
Definition PlayingSoundAttributes.h:5
Definition SoundInstanceProperties.h:5