Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
InstrumentComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_26_20/block/NoteBlockInstrument.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace SharedTypes::v1_26_20::BlockDefinition {
14
16public:
17 // InstrumentComponent inner types define
18 using InstrumentMappingsDataType =
19 ::std::unordered_map<::std::string, ::SharedTypes::v1_26_20::NoteBlockInstrument>;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<1, 4, ::std::array<::std::optional<::SharedTypes::v1_26_20::NoteBlockInstrument>, 2>>
25 mInstruments;
26 // NOLINTEND
27
28public:
29 // static functions
30 // NOLINTBEGIN
31 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
32 // NOLINTEND
33
34public:
35 // static variables
36 // NOLINTBEGIN
37 MCNAPI static ::std::string_view const& NameId();
38 // NOLINTEND
39};
40
41} // namespace SharedTypes::v1_26_20::BlockDefinition
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::std::string_view const & NameId()
Definition ReflectionCtx.h:11
Definition ctx.h:5