LeviLamina
Loading...
Searching...
No Matches
ClientChunkGenerationValidationData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/util/Bounds.h"
8#include "mc/world/level/ChunkPos.h"
9#include "mc/world/level/chunk/ClientChunkGenerationDifferenceData.h"
10#include "mc/world/level/chunk/game_lighting_checker/CheckAreaForLightingResults.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPalette;
15class ChunkSource;
16class SubChunkPos;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mDeterminismCollectData;
24 ::ll::TypedStorage<1, 1, bool> mDeterminismShowDifferentBlockLocations;
25 ::ll::TypedStorage<8, 64, ::ClientChunkGenerationDifferenceData> mDeterminismData;
26 ::ll::TypedStorage<1, 1, bool> mServerClientShowDifferentBlockLocation;
27 ::ll::TypedStorage<8, 64, ::ClientChunkGenerationDifferenceData> mServerClientData;
28 ::ll::TypedStorage<8, 8, ::ChunkPos> mLastChunkPosChecked;
29 ::ll::TypedStorage<8, 16, ::std::map<::ChunkPos, ::std::vector<::std::string>>> mServerSerializedChunks;
30 ::ll::TypedStorage<8, 16, ::std::map<::ChunkPos, ::std::vector<::std::string>>> mClientSerializedChunks;
31 ::ll::TypedStorage<4, 48, ::Bounds> mChunksToQuery;
32 ::ll::TypedStorage<4, 4, int> mChunksToQueryRadius;
33 ::ll::TypedStorage<1, 1, bool> mRunningQuery;
34 ::ll::TypedStorage<1, 1, bool> mServerRespondedToQuery;
35 ::ll::TypedStorage<1, 1, bool> mClientRespondedToQuery;
36 ::ll::TypedStorage<2, 2, short> mDimensionBottomY;
37 ::ll::TypedStorage<8, 8, ::ChunkPos> mLastClientPlayerPosition;
38 ::ll::TypedStorage<8, 8, ::BlockPalette*> mServerGlobalBlockPalette;
39 ::ll::TypedStorage<1, 1, bool> mRunLightingCheck;
40 ::ll::TypedStorage<1, 1, bool> mServerCompletedLightingCheck;
41 ::ll::TypedStorage<1, 1, bool> mClientCompletedLightingCheck;
42 ::ll::TypedStorage<1, 1, bool> mLightingShowWrongPositionsServer;
43 ::ll::TypedStorage<1, 1, bool> mLightingShowWrongPositionsClient;
44 ::ll::TypedStorage<4, 4, int> mLightingBoundingBoxHalfEdgeSize;
45 ::ll::TypedStorage<8, 40, ::GameLightingChecker::CheckAreaForLightingResults> mServerLightingResults;
46 ::ll::TypedStorage<8, 40, ::GameLightingChecker::CheckAreaForLightingResults> mClientLightingResults;
47 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mLightingCheckMutex;
48 ::ll::TypedStorage<1, 1, bool> mTrackRenderedSubChunksRebuilds;
49 ::ll::TypedStorage<1, 1, bool> mShowRenderedSubChunksNotRebuilt;
50 ::ll::TypedStorage<4, 4, int> mNumberOfRenderChunksChecked;
51 ::ll::TypedStorage<8, 24, ::std::vector<::SubChunkPos>> mSubChunksNotRebuiltSinceLastSubChunkRequest;
52 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mRenderChunkCheckMutex;
53 // NOLINTEND
54
55public:
56 // virtual functions
57 // NOLINTBEGIN
58 // vIndex: 0
59 virtual ~ClientChunkGenerationValidationData() /*override*/ = default;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCNAPI void
66 _captureChunkData(::std::map<::ChunkPos, ::std::vector<::std::string>>& data, ::ChunkSource& chunkSource);
67 // NOLINTEND
68};
Definition EnableNonOwnerReferences.h:7
Definition BlockPalette.h:18
Definition ChunkPos.h:11
Definition ChunkSource.h:34
Definition SubChunkPos.h:5
Definition ClientChunkGenerationValidationData.h:19
MCAPI void _captureChunkData(::std::map<::ChunkPos, ::std::vector<::std::string > > &data, ::ChunkSource &chunkSource)