LeviLamina
Loading...
Searching...
No Matches
CompoundBlockVolume.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/platform/brstd/function_ref.h"
8#include "mc/world/level/BlockPos.h"
9#include "mc/world/level/block/CompoundBlockVolumePositionRelativity.h"
10#include "mc/world/level/levelgen/structure/BoundingBox.h"
11
12// auto generated forward declare list
13// clang-format off
16// clang-format on
17
18class CompoundBlockVolume : public ::Bedrock::EnableNonOwnerReferences {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::CompoundBlockVolumeItem>> mVolumeList;
23 ::ll::TypedStorage<4, 12, ::BlockPos> mOrigin;
24 ::ll::TypedStorage<4, 24, ::BoundingBox> mBounds;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 CompoundBlockVolume(CompoundBlockVolume const&);
30 CompoundBlockVolume();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~CompoundBlockVolume() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI void _recalculateBounds();
42
43 MCAPI ::CompoundBlockVolumeIterator begin() const;
44
45 MCAPI void forEachPosition(::brstd::function_ref<bool(::BlockPos const&)> callback) const;
46
47 MCAPI bool isInside(::BlockPos const& pos) const;
48
49 MCAPI ::CompoundBlockVolume& operator=(::CompoundBlockVolume const& other);
50
51 MCAPI bool operator==(::CompoundBlockVolume const& other) const;
52
53 MCAPI ::std::optional<::CompoundBlockVolumeItem>
54 peekLastVolume(::std::optional<::CompoundBlockVolumePositionRelativity> optRelativity) const;
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition EnableNonOwnerReferences.h:7
static MCAPI void ** $vftable()
Definition BlockPos.h:19
Definition CompoundBlockVolumeItem.h:10
Definition CompoundBlockVolumeIterator.h:13
Definition function_ref.h:60