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