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
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
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 1
31 virtual ::std::string const& getName() const /*override*/;
32
33 // vIndex: 4
34 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
35
36 // vIndex: 2
37 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38
39 // vIndex: 7
40 virtual bool isNetworkComponent() const /*override*/;
41
42 // vIndex: 8
43 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
44
45 // vIndex: 9
46 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
47
48 // vIndex: 0
49 virtual ~BlockRedstoneDescription() /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI BlockRedstoneDescription(bool isRedstoneConductor, bool allowsWireToStepDown);
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCAPI static bool const& ALLOWS_WIRE_TO_STEP_DOWN_DEFAULT();
62
63 MCAPI static ::std::string const& NameID();
64
65 MCAPI static bool const& REDSTONE_CONDUCTOR_DEFAULT();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(bool isRedstoneConductor, bool allowsWireToStepDown);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCFOLD void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::std::string const& $getName() const;
84
85 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
86
87 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
88
89 MCFOLD bool $isNetworkComponent() const;
90
91 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
92
93 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition BlockComponentDescription.h:20
Definition BlockRedstoneDescription.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5