LeviLamina
Loading...
Searching...
No Matches
BlockConnectionRuleDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/EnumSet.h"
7#include "mc/deps/shared_types/v1_26_10/block/ConnectionType.h"
8#include "mc/deps/shared_types/v1_26_10/block/Direction.h"
9#include "mc/world/level/block/components/ConnectionID.h"
10#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
11
12// auto generated forward declare list
13// clang-format off
15// clang-format on
16
17struct BlockConnectionRuleDescription : public ::NetworkedBlockComponentDescription<::BlockConnectionRuleDescription> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, ::Bedrock::EnumSet<::ConnectionID, 4>> mConnectionsFromMask;
22 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_10::ConnectionType> mConnectionsFrom;
23 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_10::Direction>> mEnabledDirections;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 BlockConnectionRuleDescription();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::string const& getName() const /*override*/;
34
35 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38
39 virtual ~BlockConnectionRuleDescription() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI BlockConnectionRuleDescription(
46 ::Bedrock::EnumSet<::ConnectionID, 4> connectionsFromMask,
47 ::std::vector<::SharedTypes::v1_26_10::Direction> enabledDirections
48 );
49 // NOLINTEND
50
51public:
52 // static variables
53 // NOLINTBEGIN
54 MCAPI static ::std::
55 unordered_map<::SharedTypes::v1_26_10::ConnectionType, ::Bedrock::EnumSet<::ConnectionID, 4> const> const&
56 CONNECTION_TO_MASK();
57
58 MCAPI static ::std::string const& NameID();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(
65 ::Bedrock::EnumSet<::ConnectionID, 4> connectionsFromMask,
66 ::std::vector<::SharedTypes::v1_26_10::Direction> enabledDirections
67 );
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::string const& $getName() const;
80
81 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
82
83 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition EnumSet.h:8
Definition BlockComponentStorage.h:61
Definition NetworkedBlockComponentDescription.h:6
static MCAPI void ** $vftable()