Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ChunkSingleViewSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/chunk/ChunkSource.h"
7
8// auto generated forward declare list
9// clang-format off
10class ChunkPos;
11class LevelChunk;
12// clang-format on
13
14class ChunkSingleViewSource : public ::ChunkSource {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LevelChunk>> mLevelChunk;
19 // NOLINTEND
20
21#ifdef LL_PLAT_S
22#else // LL_PLAT_C
23public:
24 // prevent constructor by default
25 ChunkSingleViewSource();
26
27#endif
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::std::shared_ptr<::LevelChunk> getExistingChunk(::ChunkPos const& pos) /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI explicit ChunkSingleViewSource(::std::shared_ptr<::LevelChunk> lc);
39#endif
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI void* $ctor(::std::shared_ptr<::LevelChunk> lc);
47#endif
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53#ifdef LL_PLAT_C
54 MCNAPI ::std::shared_ptr<::LevelChunk> $getExistingChunk(::ChunkPos const& pos);
55#endif
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition ChunkPos.h:13
static MCAPI void ** $vftable()
MCAPI void * $ctor(::std::unique_ptr<::ChunkSource > parent)
Definition LevelChunk.h:76