LeviLamina
Loading...
Searching...
No Matches
BiomeIdLatticeBatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8// clang-format on
9
10struct BiomeIdLatticeBatch {
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<4, 4, int> mAreaOffset;
15 ::ll::TypedStorage<4, 4, int> mGridOffset;
16 ::ll::TypedStorage<8, 24, ::std::vector<int>> mBiomeIds;
17 // NOLINTEND
18
19#ifdef LL_PLAT_S
20#else // LL_PLAT_C
21public:
22 // prevent constructor by default
23 BiomeIdLatticeBatch();
24
25#endif
26public:
27 // member functions
28 // NOLINTBEGIN
29#ifdef LL_PLAT_C
30 MCAPI BiomeIdLatticeBatch(int areaOffset, int gridOffset);
31
32 MCAPI void add(::BlockPos const& relativePos, int id);
33
34 MCAPI void clear();
35
36 MCAPI int getBiomeId(::BlockPos const& relativePos) const;
37#endif
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43#ifdef LL_PLAT_C
44 MCAPI void* $ctor(int areaOffset, int gridOffset);
45#endif
46 // NOLINTEND
47};
Definition BlockPos.h:21