LeviLamina
Loading...
Searching...
No Matches
BlockRedstoneDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockComponentDescription.h"
7
8// auto generated forward declare list
9// clang-format off
11class CompoundTag;
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15struct BlockRedstoneDescription : public ::BlockComponentDescription {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, bool> mRedstoneConductor;
20 ::ll::TypedStorage<1, 1, bool> mAllowsWireToStepDown;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 BlockRedstoneDescription();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ::std::string const& getName() const /*override*/;
31
32 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
33
34 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
35
36 virtual bool isNetworkComponent() const /*override*/;
37
38 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
39
40 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
41
42 virtual ~BlockRedstoneDescription() /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI BlockRedstoneDescription(bool isRedstoneConductor, bool allowsWireToStepDown);
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
55 // NOLINTEND
56
57public:
58 // static variables
59 // NOLINTBEGIN
60 MCAPI static bool const& ALLOWS_WIRE_TO_STEP_DOWN_DEFAULT();
61
62 MCAPI static ::std::string const& NameID();
63
64 MCAPI static bool const& REDSTONE_CONDUCTOR_DEFAULT();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(bool isRedstoneConductor, bool allowsWireToStepDown);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCFOLD void $dtor();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::std::string const& $getName() const;
83
84 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
85
86 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
87
88 MCFOLD bool $isNetworkComponent() const;
89
90 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
91
92 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
Definition BlockComponentStorage.h:58
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5