LeviLamina
Loading...
Searching...
No Matches
BlockRedstoneConsumerDescription.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
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15class BlockRedstoneConsumerDescription : public ::BlockComponentDescription {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, schar> mMinPower;
20 ::ll::TypedStorage<1, 1, bool> mPropagatePower;
21 ::ll::TypedStorage<1, 1, bool> mConsumePowerAnyDirection;
22 ::ll::TypedStorage<1, 1, bool> mAcceptSameDirection;
23 ::ll::TypedStorage<1, 1, bool> mAcceptHalfPulse;
24 ::ll::TypedStorage<1, 1, bool> mIgnoreFirstUpdate;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockRedstoneConsumerDescription();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::std::string const& getName() const /*override*/;
35
36 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit BlockRedstoneConsumerDescription(::BlockRedstoneConsumerConstructionOptions constructionOptions);
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
51 // NOLINTEND
52
53public:
54 // static variables
55 // NOLINTBEGIN
56 MCAPI static ::std::string const& NameID();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::BlockRedstoneConsumerConstructionOptions constructionOptions);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::std::string const& $getName() const;
69
70 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
71
72 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BlockComponentStorage.h:63
static MCAPI void ** $vftable()
Definition BlockComponentDescription.h:20
Definition BlockRedstoneConsumerConstructionOptions.h:5
Definition ReflectionCtx.h:11
Definition ctx.h:5