Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptSoundUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
9namespace ScriptModuleMinecraft { struct ScriptMusicOptions; }
10// clang-format on
11
12namespace ScriptModuleMinecraft::ScriptSoundUtils {
13// functions
14// NOLINTBEGIN
15MCNAPI ::std::unique_ptr<::LevelEventGenericPacket> createPlayMusicPacket(
16 ::std::string const& trackId,
17 ::std::optional<::ScriptModuleMinecraft::ScriptMusicOptions> musicOptions,
18 ::std::optional<::ServerSoundHandle> serverSoundHandle,
19 bool shouldQueue
20);
21
22MCNAPI ::std::unique_ptr<::LevelEventGenericPacket> createStopMusicPacket();
23// NOLINTEND
24
25} // namespace ScriptModuleMinecraft::ScriptSoundUtils
Definition LevelEventGenericPacket.h:19
Definition ServerSoundHandle.h:5
Definition ScriptMusicOptions.h:14