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/world/level/BlockPos.h"
8#include "mc/world/level/block/CompoundBlockVolumePositionRelativity.h"
9#include "mc/world/level/levelgen/structure/BoundingBox.h"
10
11// auto generated forward declare list
12// clang-format off
15namespace cereal { struct ReflectionCtx; }
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(::std::function<bool(::BlockPos const&)> 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 // static functions
59 // NOLINTBEGIN
60 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition EnableNonOwnerReferences.h:7
static MCAPI void ** $vftable()
Definition BlockPos.h:19
Definition CompoundBlockVolumeItem.h:15
Definition CompoundBlockVolumeIterator.h:13
Definition ReflectionCtx.h:11
Definition ctx.h:5