LeviLamina
Loading...
Searching...
No Matches
ListBlockVolume.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockVolumeBase.h"
7
8// auto generated forward declare list
9// clang-format off
11class BlockPos;
12class BoundingBox;
13class ChunkPos;
14class Vec3;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ListBlockVolume& operator=(ListBlockVolume const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 2
36 virtual ::BlockPos getMin() const /*override*/;
37
38 // vIndex: 3
39 virtual ::BlockPos getMax() const /*override*/;
40
41 // vIndex: 1
42 virtual ::BoundingBox getBoundingBox() const /*override*/;
43
44 // vIndex: 4
45 virtual ::glm::ivec3 getSpan() const /*override*/;
46
47 // vIndex: 5
48 virtual int getCapacity() const /*override*/;
49
50 // vIndex: 6
51 virtual bool isInside(::BlockPos const& pos) const /*override*/;
52
53 // vIndex: 7
54 virtual void translate(::BlockPos const& delta) /*override*/;
55
56 // vIndex: 8
57 virtual void forEach(::std::function<bool(::BlockPos const&)> callback) const /*override*/;
58
59 // vIndex: 9
60 virtual ::std::set<::ChunkPos> getChunks() const /*override*/;
61
62 // vIndex: 10
63 virtual ::std::unordered_set<::BlockPos> getFlattenedBlockPositions() const /*override*/;
64
65 // vIndex: 11
66 virtual ::std::unique_ptr<::BaseBlockLocationIterator> getIterator() const /*override*/;
67
68 // vIndex: 0
69 virtual ~ListBlockVolume() /*override*/ = default;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCNAPI explicit ListBlockVolume(::std::vector<::BlockPos> const& blockPositions);
76
78
79 MCNAPI void insert(::std::vector<::Vec3> const& blockPositions);
80 // NOLINTEND
81
82public:
83 // constructor thunks
84 // NOLINTBEGIN
85 MCNAPI void* $ctor(::std::vector<::BlockPos> const& blockPositions);
86
87 MCNAPI void* $ctor(::ListBlockVolume const& rhs);
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCNAPI ::BlockPos $getMin() const;
94
95 MCNAPI ::BlockPos $getMax() const;
96
97 MCNAPI ::BoundingBox $getBoundingBox() const;
98
99 MCNAPI ::glm::ivec3 $getSpan() const;
100
101 MCNAPI int $getCapacity() const;
102
103 MCNAPI bool $isInside(::BlockPos const& pos) const;
104
105 MCNAPI void $translate(::BlockPos const& delta);
106
107 MCNAPI void $forEach(::std::function<bool(::BlockPos const&)> callback) const;
108
109 MCNAPI ::std::set<::ChunkPos> $getChunks() const;
110
111 MCNAPI ::std::unordered_set<::BlockPos> $getFlattenedBlockPositions() const;
112
113 MCNAPI ::std::unique_ptr<::BaseBlockLocationIterator> $getIterator() const;
114 // NOLINTEND
115
116public:
117 // vftables
118 // NOLINTBEGIN
119 MCNAPI static void** $vftable();
120 // NOLINTEND
121};
Definition BaseBlockLocationIterator.h:10
Definition BlockPos.h:18
Definition BlockVolumeBase.h:13
Definition BoundingBox.h:13
Definition ChunkPos.h:11
Definition ListBlockVolume.h:17
MCAPI::glm::ivec3 $getSpan() const
MCAPI ::std::unique_ptr<::BaseBlockLocationIterator > $getIterator() const
static MCAPI void ** $vftable()
MCAPI void $forEach(::std::function< bool(::BlockPos const &)> callback) const
MCAPI ListBlockVolume(::ListBlockVolume const &rhs)
MCAPI void * $ctor(::std::vector<::BlockPos > const &blockPositions)
MCAPI::BoundingBox $getBoundingBox() const
MCAPI ::std::set<::ChunkPos > $getChunks() const
MCAPI ListBlockVolume(::std::vector<::BlockPos > const &blockPositions)
MCAPI void * $ctor(::ListBlockVolume const &rhs)
MCAPI bool $isInside(::BlockPos const &pos) const
MCAPI::BlockPos $getMin() const
MCAPI::BlockPos $getMax() const
MCAPI void insert(::std::vector<::Vec3 > const &blockPositions)
MCAPI int $getCapacity() const
MCAPI void $translate(::BlockPos const &delta)
MCAPI ::std::unordered_set<::BlockPos > $getFlattenedBlockPositions() const
Definition Vec3.h:10
Definition Alias.h:14