LeviLamina
Loading...
Searching...
No Matches
NeighborBlockDirections.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/world/level/block/NeighborDirection.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12// clang-format on
13
14class NeighborBlockDirections {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<2, 2, ::Bedrock::EnumSet<::NeighborDirection, 14>> mDirections;
19 // NOLINTEND
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCAPI NeighborBlockDirections();
25
26 MCAPI bool anySet() const;
27
28 MCAPI ::NeighborBlockDirections getFlagIntersection(::NeighborBlockDirections const& other) const;
29
30 MCAPI bool isSet(::NeighborDirection direction) const;
31
32 MCAPI void set(::NeighborDirection direction, bool value);
33
34 MCAPI void setAll(bool value);
35
36 MCAPI void setAllCardinalDirections(bool value);
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static ::NeighborBlockDirections all();
43
44 MCAPI static ::NeighborBlockDirections
45 createFromRelativePosition(::BlockPos const& pos, ::BlockPos const& neighborPos);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCFOLD void* $ctor();
52 // NOLINTEND
53};
Definition BlockPos.h:21