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/external/render_dragon/frame_graph/ConnectionType.h"
8#include "mc/world/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
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18struct BlockConnectionRuleDescription : public ::NetworkedBlockComponentDescription<::BlockConnectionRuleDescription> {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, ::Bedrock::EnumSet<::ConnectionID, 4>> mConnectionsFromMask;
23 ::ll::TypedStorage<4, 4, ::ConnectionType> mConnectionsFrom;
24 ::ll::TypedStorage<8, 24, ::std::vector<::Direction::Type>> mEnabledDirections;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ::std::string const& getName() const /*override*/;
31
32 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
33
34 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
35
36 virtual ~BlockConnectionRuleDescription() /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI BlockConnectionRuleDescription();
43
44 MCAPI BlockConnectionRuleDescription(
45 ::Bedrock::EnumSet<::ConnectionID, 4> connectionsFromMask,
46 ::std::vector<::Direction::Type> enabledDirections
47 );
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
54 // NOLINTEND
55
56public:
57 // static variables
58 // NOLINTBEGIN
59 MCAPI static ::std::vector<::Direction::Type> const& ALL_DIRECTIONS();
60
61 MCAPI static ::std::unordered_map<::ConnectionType, ::Bedrock::EnumSet<::ConnectionID, 4> const> const&
62 CONNECTION_TO_MASK();
63
64 MCAPI static ::std::string const& NameID();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor();
71
72 MCAPI void* $ctor(
73 ::Bedrock::EnumSet<::ConnectionID, 4> connectionsFromMask,
74 ::std::vector<::Direction::Type> enabledDirections
75 );
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCAPI void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCAPI ::std::string const& $getName() const;
88
89 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
90
91 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
92
93
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
Definition EnumSet.h:8
Definition BlockComponentStorage.h:58
Definition NetworkedBlockComponentDescription.h:6
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5