LeviLamina
Loading...
Searching...
No Matches
EventToSoundListMap.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7
8// auto generated forward declare list
9// clang-format off
10struct Sound;
11namespace Json { class Value; }
12// clang-format on
13
15public:
16 // EventToSoundListMap inner types define
17 using SoundList = ::std::unordered_map<::std::string, ::Sound>;
18
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<
23 8,
24 64,
25 ::std::unordered_map<::SharedTypes::Legacy::LevelSoundEvent, ::std::unordered_map<::std::string, ::Sound>>>
26 mEventToSoundListMap;
27 ::ll::TypedStorage<4, 4, float> mVolumeMin;
28 ::ll::TypedStorage<4, 4, float> mVolumeMax;
29 ::ll::TypedStorage<4, 4, float> mPitchMin;
30 ::ll::TypedStorage<4, 4, float> mPitchMax;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI ::Sound getSound(::SharedTypes::Legacy::LevelSoundEvent eventType, ::std::string const& blockType) const;
37
38 MCAPI void parse(::Json::Value const& root);
39 // NOLINTEND
40};
Definition EventToSoundListMap.h:5
Definition Value.h:16
Definition Sound.h:5