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: 15
46 virtual ::Core::PathBuffer<::std::string> const getCurrentlyPlayingMusicName() /*override*/;
47
48 // vIndex: 16
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: 11
58 virtual void stopMusic() /*override*/;
59
60 // vIndex: 17
61 virtual uint64
62 registerLoop(::std::string const&, ::std::function<void(::LoopingSoundState&)>, float, float) /*override*/;
63
64 // vIndex: 18
65 virtual void unregisterLoop(uint64, bool) /*override*/;
66
67 // vIndex: 13
68 virtual void stop(::std::string const&) /*override*/;
69
70 // vIndex: 12
71 virtual void stop(uint64) /*override*/;
72
73 // vIndex: 10
74 virtual void fadeOut(uint64, float) /*override*/;
75
76 // vIndex: 14
77 virtual void stopAllSounds() /*override*/;
78
79 // vIndex: 20
80 virtual bool isPlayingSound(uint64) const /*override*/;
81
82 // vIndex: 19
83 virtual bool isPlayingSound(::Core::Path const&) const /*override*/;
84
85 // vIndex: 21
86 virtual uint64 playAttached(::std::string const&, ::std::function<void(::SoundInstanceProperties&)>&&) /*override*/;
87
88 // vIndex: 22
89 virtual void stopAllDelayedSoundActions() /*override*/;
90
91 // vIndex: 23
92 virtual ::std::optional<::PlayingSoundAttributes> tryGetPlayingSoundAttributes(uint64) const /*override*/;
93
94 // vIndex: 24
95 virtual ::std::optional<::LoopingSoundAttributes> tryGetLoopingSoundAttributes(uint64) const /*override*/;
96
97 // vIndex: 0
98 virtual ~NullSoundPlayer() /*override*/ = default;
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCFOLD uint64 $play(::std::string const&, ::Vec3 const&, float, float);
111
112 MCFOLD uint64 $playUI(::std::string const&, float, float);
113
114 MCFOLD void $playMusic(::std::string const&, float, uint&);
115
116 MCFOLD void $playMusic(::std::string const&, float);
117
118 MCFOLD bool $isLoadingMusic() const;
119
120 MCFOLD bool $isPlayingMusicEvent(::std::string const&) const;
121
122 MCFOLD bool $isPlayingMusic(::Core::Path const&) const;
123
124 MCFOLD ::Core::PathBuffer<::std::string> const $getCurrentlyPlayingMusicName();
125
126 MCFOLD bool $getItem(::std::string const&, ::Core::Path const&, ::SoundItem&) const;
127
128 MCFOLD void $fadeToStopMusic(float);
129
130 MCFOLD void $setMusicCommandVolumeMultiplier(float);
131
132 MCFOLD void $stopMusic();
133
134 MCAPI uint64 $registerLoop(::std::string const&, ::std::function<void(::LoopingSoundState&)>, float, float);
135
136 MCFOLD void $unregisterLoop(uint64, bool);
137
138 MCFOLD void $stop(::std::string const&);
139
140 MCFOLD void $stop(uint64);
141
142 MCFOLD void $fadeOut(uint64, float);
143
144 MCFOLD void $stopAllSounds();
145
146 MCFOLD bool $isPlayingSound(uint64) const;
147
148 MCFOLD bool $isPlayingSound(::Core::Path const&) const;
149
150 MCFOLD uint64 $playAttached(::std::string const&, ::std::function<void(::SoundInstanceProperties&)>&&);
151
152 MCFOLD void $stopAllDelayedSoundActions();
153
154 MCAPI ::std::optional<::PlayingSoundAttributes> $tryGetPlayingSoundAttributes(uint64) const;
155
156 MCFOLD ::std::optional<::LoopingSoundAttributes> $tryGetLoopingSoundAttributes(uint64) const;
157 // NOLINTEND
158
159public:
160 // vftables
161 // NOLINTBEGIN
162 MCAPI static void** $vftable();
163 // NOLINTEND
164};
Definition Path.h:15
Definition NullSoundPlayer.h:20
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