LeviLamina
Loading...
Searching...
No Matches
SurfaceLevelCache.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/DividedPos2d.h"
7#include "mc/world/level/levelgen/v1/IPreliminarySurfaceProvider.h"
8
9class SurfaceLevelCache : public ::IPreliminarySurfaceProvider {
10public:
11 // member variables
12 // NOLINTBEGIN
13 ::ll::TypedStorage<8, 8, uint64> mBufferSizeXZ;
14 ::ll::TypedStorage<4, 8, ::DividedPos2d<4> const> mMinPos;
15 ::ll::TypedStorage<8, 8, ::IPreliminarySurfaceProvider const&> mPreliminarySurfaceProvider;
16 ::ll::TypedStorage<8, 24, ::std::vector<short>> mSurfaceLevelBuffer;
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
21 SurfaceLevelCache& operator=(SurfaceLevelCache const&);
22 SurfaceLevelCache(SurfaceLevelCache const&);
23 SurfaceLevelCache();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::std::optional<short> getPreliminarySurfaceLevel(::DividedPos2d<4> worldQuartPos) const /*override*/;
29
30 virtual ~SurfaceLevelCache() /*override*/;
31 // NOLINTEND
32
33public:
34 // destructor thunk
35 // NOLINTBEGIN
36 MCAPI void $dtor();
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCAPI ::std::optional<short> $getPreliminarySurfaceLevel(::DividedPos2d<4> worldQuartPos) const;
43
44
45 // NOLINTEND
46
47public:
48 // vftables
49 // NOLINTBEGIN
50 MCNAPI static void** $vftable();
51 // NOLINTEND
52};
Definition DividedPos2d.h:7
Definition IPreliminarySurfaceProvider.h:8
static MCAPI void ** $vftable()