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&) const /*override*/;
39
40 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI BlockRedstoneDescription(bool isRedstoneConductor, bool allowsWireToStepDown);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
53 // NOLINTEND
54
55public:
56 // static variables
57 // NOLINTBEGIN
58 MCAPI static bool const& ALLOWS_WIRE_TO_STEP_DOWN_DEFAULT();
59
60 MCAPI static ::std::string const& NameID();
61
62 MCAPI static bool const& REDSTONE_CONDUCTOR_DEFAULT();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(bool isRedstoneConductor, bool allowsWireToStepDown);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::std::string const& $getName() const;
75
76 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
77
78 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
79
80 MCFOLD bool $isNetworkComponent() const;
81
82 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
83
84 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftable();
93 // NOLINTEND
94};
Definition BlockComponentStorage.h:63
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5