LeviLamina
Loading...
Searching...
No Matches
BlockVolumeBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class BlockPos;
9class BoundingBox;
10class ChunkPos;
11// clang-format on
12
14public:
15 // virtual functions
16 // NOLINTBEGIN
17 virtual ~BlockVolumeBase();
18
19 virtual ::BoundingBox getBoundingBox() const = 0;
20
21 virtual ::BlockPos getMin() const = 0;
22
23 virtual ::BlockPos getMax() const = 0;
24
25 virtual ::glm::ivec3 getSpan() const = 0;
26
27 virtual int getCapacity() const = 0;
28
29 virtual bool isInside(::BlockPos const&) const = 0;
30
31 virtual void translate(::BlockPos const&) = 0;
32
33 virtual void forEach(::std::function<bool(::BlockPos const&)>) const = 0;
34
35 virtual ::std::set<::ChunkPos> getChunks() const = 0;
36
37 virtual ::std::unordered_set<::BlockPos> getFlattenedBlockPositions() const = 0;
38
39 virtual ::std::unique_ptr<::BaseBlockLocationIterator> getIterator() const = 0;
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCAPI static void** $vftable();
58 // NOLINTEND
59};
Definition BaseBlockLocationIterator.h:8
Definition BlockPos.h:19
Definition BlockVolumeBase.h:13
Definition BoundingBox.h:13
Definition ChunkPos.h:11