LeviLamina
Loading...
Searching...
No Matches
NullSoundPlayer.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/sound/SoundPlayerInterface.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: 1
25 virtual uint64 play(::std::string const&, ::Vec3 const&, float, float) /*override*/;
26
27 // vIndex: 2
28 virtual uint64 playUI(::std::string const&, float, float) /*override*/;
29
30 // vIndex: 4
31 virtual void playMusic(::std::string const&, float, uint&) /*override*/;
32
33 // vIndex: 3
34 virtual void playMusic(::std::string const&, float) /*override*/;
35
36 // vIndex: 5
37 virtual bool isLoadingMusic() const /*override*/;
38
39 // vIndex: 6
40 virtual bool isPlayingMusicEvent(::std::string const&) const /*override*/;
41
42 // vIndex: 7
43 virtual bool isPlayingMusic(::Core::Path const&) const /*override*/;
44
45 // vIndex: 18
46 virtual ::Core::PathBuffer<::std::string> const getCurrentlyPlayingMusicName() /*override*/;
47
48 // vIndex: 19
49 virtual bool getItem(::std::string const&, ::Core::Path const&, ::SoundItem&) const /*override*/;
50
51 // vIndex: 8
52 virtual void fadeToStopMusic(float) /*override*/;
53
54 // vIndex: 9
55 virtual void setMusicCommandVolumeMultiplier(float) /*override*/;
56
57 // vIndex: 17
58 virtual void pauseMusic(bool) /*override*/;
59
60 // vIndex: 11
61 virtual void stopMusic() /*override*/;
62
63 // vIndex: 20
64 virtual uint64
65 registerLoop(::std::string const&, ::std::function<void(::LoopingSoundState&)>, float, float) /*override*/;
66
67 // vIndex: 21
68 virtual void unregisterLoop(uint64, bool) /*override*/;
69
70 // vIndex: 13
71 virtual void stop(::std::string const&) /*override*/;
72
73 // vIndex: 12
74 virtual void stop(uint64) /*override*/;
75
76 // vIndex: 10
77 virtual void fadeOut(uint64, float) /*override*/;
78
79 // vIndex: 14
80 virtual void stopAllSounds() /*override*/;
81
82 // vIndex: 15
83 virtual void pauseAllPlayingSounds() /*override*/;
84
85 // vIndex: 16
86 virtual void resumeAllPreviouslyPlayingSounds() /*override*/;
87
88 // vIndex: 23
89 virtual bool isPlayingSound(uint64) const /*override*/;
90
91 // vIndex: 22
92 virtual bool isPlayingSound(::Core::Path const&) const /*override*/;
93
94 // vIndex: 24
95 virtual uint64 playAttached(::std::string const&, ::std::function<void(::SoundInstanceProperties&)>&&) /*override*/;
96
97 // vIndex: 25
98 virtual void stopAllDelayedSoundActions() /*override*/;
99
100 // vIndex: 26
101 virtual ::std::optional<::PlayingSoundAttributes> tryGetPlayingSoundAttributes(uint64) const /*override*/;
102
103 // vIndex: 27
104 virtual ::std::optional<::LoopingSoundAttributes> tryGetLoopingSoundAttributes(uint64) const /*override*/;
105
106 // vIndex: 0
107 virtual ~NullSoundPlayer() /*override*/ = default;
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCNAPI uint64 $play(::std::string const&, ::Vec3 const&, float, float);
114
115 MCNAPI uint64 $playUI(::std::string const&, float, float);
116
117 MCNAPI void $playMusic(::std::string const&, float, uint&);
118
119 MCNAPI void $playMusic(::std::string const&, float);
120
121 MCNAPI bool $isLoadingMusic() const;
122
123 MCNAPI bool $isPlayingMusicEvent(::std::string const&) const;
124
125 MCNAPI bool $isPlayingMusic(::Core::Path const&) const;
126
127 MCNAPI ::Core::PathBuffer<::std::string> const $getCurrentlyPlayingMusicName();
128
129 MCNAPI bool $getItem(::std::string const&, ::Core::Path const&, ::SoundItem&) const;
130
131 MCNAPI void $fadeToStopMusic(float);
132
134
135 MCNAPI void $pauseMusic(bool);
136
137 MCNAPI void $stopMusic();
138
139 MCNAPI uint64 $registerLoop(::std::string const&, ::std::function<void(::LoopingSoundState&)>, float, float);
140
141 MCNAPI void $unregisterLoop(uint64, bool);
142
143 MCNAPI void $stop(::std::string const&);
144
145 MCNAPI void $stop(uint64);
146
147 MCNAPI void $fadeOut(uint64, float);
148
149 MCNAPI void $stopAllSounds();
150
152
154
155 MCNAPI bool $isPlayingSound(uint64) const;
156
157 MCNAPI bool $isPlayingSound(::Core::Path const&) const;
158
159 MCNAPI uint64 $playAttached(::std::string const&, ::std::function<void(::SoundInstanceProperties&)>&&);
160
162
163 MCNAPI ::std::optional<::PlayingSoundAttributes> $tryGetPlayingSoundAttributes(uint64) const;
164
165 MCNAPI ::std::optional<::LoopingSoundAttributes> $tryGetLoopingSoundAttributes(uint64) const;
166 // NOLINTEND
167
168public:
169 // vftables
170 // NOLINTBEGIN
171 MCNAPI static void** $vftable();
172 // NOLINTEND
173};
Definition Path.h:17
Definition NullSoundPlayer.h:20
MCAPI void $playMusic(::std::string const &, float)
MCAPI bool $isPlayingSound(::Core::Path const &) const
MCAPI uint64 $playAttached(::std::string const &, ::std::function< void(::SoundInstanceProperties &)> &&)
MCAPI uint64 $registerLoop(::std::string const &, ::std::function< void(::LoopingSoundState &)>, float, float)
MCAPI void $stopAllSounds()
static MCAPI void ** $vftable()
MCAPI void $stop(::std::string const &)
MCAPI void $pauseMusic(bool)
MCAPI bool $isPlayingMusicEvent(::std::string const &) const
MCAPI void $stopMusic()
MCAPI ::std::optional<::PlayingSoundAttributes > $tryGetPlayingSoundAttributes(uint64) const
MCAPI void $setMusicCommandVolumeMultiplier(float)
MCAPI void $fadeOut(uint64, float)
MCAPI ::std::optional<::LoopingSoundAttributes > $tryGetLoopingSoundAttributes(uint64) const
MCAPI bool $getItem(::std::string const &, ::Core::Path const &, ::SoundItem &) const
MCAPI void $stopAllDelayedSoundActions()
MCAPI void $playMusic(::std::string const &, float, uint &)
MCAPI void $stop(uint64)
MCAPI void $resumeAllPreviouslyPlayingSounds()
MCAPI bool $isPlayingMusic(::Core::Path const &) const
MCAPI bool $isPlayingSound(uint64) const
MCAPI uint64 $play(::std::string const &, ::Vec3 const &, float, float)
MCAPI void $unregisterLoop(uint64, bool)
MCAPI void $pauseAllPlayingSounds()
MCAPI uint64 $playUI(::std::string const &, float, float)
MCAPI ::Core::PathBuffer<::std::string > const $getCurrentlyPlayingMusicName()
MCAPI bool $isLoadingMusic() const
MCAPI void $fadeToStopMusic(float)
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