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