Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LevelSoundEventMap.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#include "mc/util/BidirectionalUnorderedMap.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace SharedTypes::Versionless { struct SoundEventName; }
13// clang-format on
14
16public:
17 // static functions
18 // NOLINTBEGIN
19 MCNAPI static ::SharedTypes::Legacy::LevelSoundEvent getId(::std::string const& type);
20
21#ifdef LL_PLAT_C
22 MCAPI static ::std::string const& getName(::SharedTypes::Legacy::LevelSoundEvent type);
23#endif
24
25 MCNAPI static ::SoundEventIdentifier resolve(::SharedTypes::Versionless::SoundEventName const& name);
26 // NOLINTEND
27
28public:
29 // static variables
30 // NOLINTBEGIN
31 MCNAPI static ::BidirectionalUnorderedMap<::std::string, ::SharedTypes::Legacy::LevelSoundEvent> const& map();
32 // NOLINTEND
33};
Definition LevelSoundEventMap.h:15
static MCAPI ::SharedTypes::Legacy::LevelSoundEvent getId(::std::string const &type)
static MCAPI ::SoundEventIdentifier resolve(::SharedTypes::Versionless::SoundEventName const &name)
static MCAPI ::BidirectionalUnorderedMap<::std::string, ::SharedTypes::Legacy::LevelSoundEvent > const & map()
Definition SoundEventName.h:12
Definition SoundEventIdentifier.h:13