LeviLamina
Loading...
Searching...
No Matches
ChunkDebugStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class ChunkPos;
8class LevelChunk;
9struct DimensionType;
10namespace Bedrock { struct ChunkDimensionDebugData; }
11namespace Bedrock::Profiling { class PerfClock; }
12namespace Bedrock::RefCount::details { struct KeepAlive; }
13// clang-format on
14
15namespace Bedrock {
16
17class ChunkDebugStorage {
18public:
19 // member variables
20 // NOLINTBEGIN
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 ChunkDebugStorage& operator=(ChunkDebugStorage const&);
39 ChunkDebugStorage(ChunkDebugStorage const&);
40
41public:
42 // member functions
43 // NOLINTBEGIN
45
46#ifdef LL_PLAT_C
47 MCNAPI void clearChunkMapServerData();
48
49 MCNAPI void dubious_clearSomeMoreDataSelectively();
50
51 MCNAPI ::std::shared_ptr<::Bedrock::ChunkDimensionDebugData const>
52 getChunkMapServerData(::DimensionType dimensionID);
53
54 MCNAPI void legacy_clearSomeDataSelectively();
55#endif
56
57 MCNAPI void onLegacyUpdateMap(bool const* legacyMap);
58
59 MCNAPI void onLiveSave(::LevelChunk const& levelChunk);
60
62 ::DimensionType dimensionID,
63 ::std::shared_ptr<::Bedrock::ChunkDimensionDebugData const> chunkMapDebugDraw
64 );
65
66#ifdef LL_PLAT_C
67 MCNAPI void setReusedSubChunksPercent(::ChunkPos const& pos, uchar reusedPercent);
68#endif
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCNAPI void* $ctor();
75 // NOLINTEND
76};
77
78} // namespace Bedrock
MCAPI void setChunkMapServerData(::DimensionType dimensionID, ::std::shared_ptr<::Bedrock::ChunkDimensionDebugData const > chunkMapDebugDraw)
MCAPI void onLiveSave(::LevelChunk const &levelChunk)
MCAPI void onLegacyUpdateMap(bool const *legacyMap)
Definition PerfClock.h:7
Definition ChunkPos.h:13
Definition LevelChunk.h:77
Definition ChunkDimensionDebugData.h:14
Definition DimensionType.h:5
Definition Alias.h:14