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 // vIndex: 0
18 virtual ~BlockVolumeBase();
19
20 // vIndex: 1
21 virtual ::BoundingBox getBoundingBox() const = 0;
22
23 // vIndex: 2
24 virtual ::BlockPos getMin() const = 0;
25
26 // vIndex: 3
27 virtual ::BlockPos getMax() const = 0;
28
29 // vIndex: 4
30 virtual ::glm::ivec3 getSpan() const = 0;
31
32 // vIndex: 5
33 virtual int getCapacity() const = 0;
34
35 // vIndex: 6
36 virtual bool isInside(::BlockPos const&) const = 0;
37
38 // vIndex: 7
39 virtual void translate(::BlockPos const&) = 0;
40
41 // vIndex: 8
42 virtual void forEach(::std::function<bool(::BlockPos const&)>) const = 0;
43
44 // vIndex: 9
45 virtual ::std::set<::ChunkPos> getChunks() const = 0;
46
47 // vIndex: 10
48 virtual ::std::unordered_set<::BlockPos> getFlattenedBlockPositions() const = 0;
49
50 // vIndex: 11
51 virtual ::std::unique_ptr<::BaseBlockLocationIterator> getIterator() const = 0;
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition BaseBlockLocationIterator.h:10
Definition BlockPos.h:18
Definition BlockVolumeBase.h:13
MCAPI void $dtor()
static MCAPI void ** $vftable()
Definition BoundingBox.h:13
Definition ChunkPos.h:11