LeviLamina
Loading...
Searching...
No Matches
BlockRedstoneProducerDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/EnumSet.h"
7#include "mc/legacy/facing/Name.h"
8#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17struct BlockRedstoneProducerDescription
18: public ::NetworkedBlockComponentDescription<::BlockRedstoneProducerDescription> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, schar> mPower;
23 ::ll::TypedStorage<1, 1, uchar> mStronglyPoweredFace;
24 ::ll::TypedStorage<1, 1, ::Bedrock::EnumSet<::Facing::Name, 6>> mConnectedFaces;
25 ::ll::TypedStorage<1, 1, bool> mIsTransformRelative;
26 ::ll::TypedStorage<1, 1, bool> mAllowPowerUp;
27 ::ll::TypedStorage<1, 1, bool> mAllowPowerDown;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 BlockRedstoneProducerDescription();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ::std::string const& getName() const /*override*/;
38
39 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
40
41 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
42
43 virtual ::CompoundTag buildUnboundDataNetworkTag() const /*override*/;
44
45 virtual void initializeUnboundDataFromNetwork(::CompoundTag const& tag) /*override*/;
46
47 virtual ~BlockRedstoneProducerDescription() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI BlockRedstoneProducerDescription(
54 int outputPower,
55 uchar stronglyPoweredFace,
57 bool isTransformRelative,
58 bool allowPowerUp,
59 bool allowPowerDown
60 );
61 // NOLINTEND
62
63public:
64 // static functions
65 // NOLINTBEGIN
66 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
67 // NOLINTEND
68
69public:
70 // static variables
71 // NOLINTBEGIN
72 MCAPI static ::std::string const& NameID();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(
79 int outputPower,
80 uchar stronglyPoweredFace,
82 bool isTransformRelative,
83 bool allowPowerUp,
84 bool allowPowerDown
85 );
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCFOLD void $dtor();
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCAPI ::std::string const& $getName() const;
98
99 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
100
101 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
102
103 MCAPI ::CompoundTag $buildUnboundDataNetworkTag() const;
104
105 MCAPI void $initializeUnboundDataFromNetwork(::CompoundTag const& tag);
106
107
108 // NOLINTEND
109
110public:
111 // vftables
112 // NOLINTBEGIN
113 MCNAPI static void** $vftable();
114 // NOLINTEND
115};
Definition EnumSet.h:8
Definition BlockComponentStorage.h:58
Definition CompoundTag.h:23
Definition NetworkedBlockComponentDescription.h:6
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5