Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Region.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8namespace Poi { struct Chunk; }
9// clang-format on
10
11namespace Poi {
12
13struct Region {
14public:
15 // member variables
16 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 Region& operator=(Region const&);
26 Region(Region const&);
27 Region();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI ::Poi::Chunk* get(::BlockPos pos) const;
33
34 MCNAPI ::Poi::Chunk& getOrCreate(::BlockPos pos);
35 // NOLINTEND
36};
37
38} // namespace Poi
Definition BlockPos.h:14
Definition Chunk.h:17
MCAPI::Poi::Chunk & getOrCreate(::BlockPos pos)
MCAPI::Poi::Chunk * get(::BlockPos pos) const
Definition Alias.h:14