LeviLamina
Loading...
Searching...
No Matches
BlockStateMeta.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nbt/Tag.h"
7#include "mc/util/BidirectionalUnorderedMap.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockState;
12class ListTag;
14// clang-format on
15
16class BlockStateMeta {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, ::Tag::Type> mType;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ListTag>> mEnumValues;
22 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<int, uint64>> mHashIndexMap;
23 ::ll::TypedStorage<8, 8, ::BlockState const&> mBlockState;
24 ::ll::TypedStorage<8, 32, ::std::string> mName;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockStateMeta& operator=(BlockStateMeta const&);
30 BlockStateMeta(BlockStateMeta const&);
31 BlockStateMeta();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI BlockStateMeta(::BlockState const& blockState, ::BlockStateDefinition const& def);
37
38 MCAPI bool const getBool(int index) const;
39
40 MCAPI int const getInt(int index) const;
41
42 MCAPI ::std::string const& getString(int index) const;
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(::BlockState const& blockState, ::BlockStateDefinition const& def);
49 // NOLINTEND
50};
Definition BlockState.h:14
Definition ListTag.h:19
Definition BlockStateDefinition.h:13