LeviLamina
Loading...
Searching...
No Matches
SoundOptions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
11// clang-format on
12
13class SoundOptions {
14public:
15 // SoundOptions inner types declare
16 // clang-format off
17 struct VolumeSlider;
18 // clang-format on
19
20 // SoundOptions inner types define
21 struct VolumeSlider {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 32, ::std::string const> sound;
26 ::ll::TypedStorage<4, 4, float> volume;
27 ::ll::TypedStorage<8, 8, uint64> soundHandle;
28 // NOLINTEND
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::SoundOptions::VolumeSlider>> mVolumeSliders;
35 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::SoundPlayerInterface>> mSoundEngine;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 SoundOptions();
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI explicit SoundOptions(::Bedrock::NonOwnerPointer<::SoundPlayerInterface> soundEngine);
46
47 MCAPI void volumeUpdated(::std::string const& sliderName, bool isMainMenu);
48
49 MCAPI ~SoundOptions();
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::Bedrock::NonOwnerPointer<::SoundPlayerInterface> soundEngine);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition SoundOptions.h:5
Definition SoundPlayerInterface.h:23
Definition SoundOptions.h:13