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_20/block/ConnectionType.h"
8#include "mc/deps/shared_types/v1_26_20/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, 5>> mConnectionsFromMask;
22 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_20::ConnectionType> mConnectionsFrom;
23 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_20::Direction>> mEnabledDirections;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::std::string const& getName() const /*override*/;
30
31 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
32
33 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual ~BlockConnectionRuleDescription() /*override*/;
36 // NOLINTEND
37
38public:
39 // static variables
40 // NOLINTBEGIN
41 MCAPI static ::std::
42 unordered_map<::SharedTypes::v1_26_20::ConnectionType, ::Bedrock::EnumSet<::ConnectionID, 5> const> const&
43 CONNECTION_TO_MASK();
44
45 MCAPI static ::std::string const& NameID();
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCAPI void $dtor();
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::std::string const& $getName() const;
58
59 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
60
61 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition BlockComponentStorage.h:67
Definition NetworkedBlockComponentDescription.h:6
Definition BlockConnectionRuleDescription.h:17
static MCAPI void ** $vftable()