LeviLamina
Loading...
Searching...
No Matches
CustomBlockStateVariant.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/BidirectionalUnorderedMap.h"
7#include "mc/world/level/block/states/BlockState.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class ListTag;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ListTag>> mEnumValues;
20 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<int, uint64>> mHashIndexMap;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 1
31 virtual void toNBT(::CompoundTag& tag, int val) const /*override*/;
32
33 // vIndex: 2
34 virtual bool fromNBT(::CompoundTag const& tag, int& outValue) const /*override*/;
35
36 // vIndex: 0
37 virtual ~CustomBlockStateVariant() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI CustomBlockStateVariant(uint64 id, ::std::string const& name, ::ListTag const& values);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(uint64 id, ::std::string const& name, ::ListTag const& values);
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI void $toNBT(::CompoundTag& tag, int val) const;
56
57 MCAPI bool $fromNBT(::CompoundTag const& tag, int& outValue) const;
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition BlockState.h:13
Definition CompoundTag.h:13
Definition CustomBlockStateVariant.h:15
static MCAPI void ** $vftable()
Definition ListTag.h:12