LeviLamina
Loading...
Searching...
No Matches
Chunk.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/poi/TypeId.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11struct SubChunk;
12namespace Poi { struct RegionId; }
13// clang-format on
14
15namespace Poi {
16
17struct Chunk {
18public:
19 // member variables
20 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 Chunk& operator=(Chunk const&);
30 Chunk(Chunk const&);
31 Chunk();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI void add(::BlockPos pos, ::Poi::TypeId type, uchar ticketsRemaining);
37
38 MCNAPI bool release(::BlockPos pos);
39
40 MCNAPI void remove(::BlockPos pos);
41
42 MCNAPI void update(::BlockPos sectionOrigin, ::SubChunk const& blockSection);
43 // NOLINTEND
44};
45
46} // namespace Poi
Definition BlockPos.h:17
MCAPI void update(::BlockPos sectionOrigin, ::SubChunk const &blockSection)
MCAPI void add(::BlockPos pos, ::Poi::TypeId type, uchar ticketsRemaining)
MCAPI void remove(::BlockPos pos)
MCAPI bool release(::BlockPos pos)
Definition RegionId.h:7
Definition SubChunk.h:26
Definition Alias.h:14