Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
EventToSoundListMap Class Reference

Public Types

using SoundList = ::std::unordered_map<::std::string, ::Sound>

Public Member Functions

MCAPI::Sound getSound (::SharedTypes::Legacy::LevelSoundEvent eventType, ::std::string const &blockType) const
MCAPI void parse (::Json::Value const &root)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::SharedTypes::Legacy::LevelSoundEvent, ::std::unordered_map<::std::string, ::Sound > > > mEventToSoundListMap
::ll::TypedStorage< 4, 4, float > mVolumeMin
::ll::TypedStorage< 4, 4, float > mVolumeMax
::ll::TypedStorage< 4, 4, float > mPitchMin
::ll::TypedStorage< 4, 4, float > mPitchMax

Member Function Documentation

◆ getSound()

MCAPI::Sound EventToSoundListMap::getSound ( ::SharedTypes::Legacy::LevelSoundEvent eventType,
::std::string const & blockType ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ parse()

MCAPI void EventToSoundListMap::parse ( ::Json::Value const & root)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: