3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/network/packet/SubChunkPacketPayload.h"
7#include "mc/world/level/ChunkPos.h"
8#include "mc/world/level/SubChunkPos.h"
9#include "mc/world/level/chunk/DeserializationChanges.h"
10#include "mc/world/level/chunk/LevelChunkBlockActorStorage.h"
11#include "mc/world/level/dimension/DimensionType.h"
16namespace ClientBlobCache {
class Cache; }
23 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
24 ::ll::TypedStorage<4, 12, ::SubChunkPos> mSubChunkPos;
25 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionType;
26 ::ll::TypedStorage<8, 584, ::SubChunkPacketPayload::SubChunkPacketData const> mPacketData;
27 ::ll::TypedStorage<1, 1, bool> mHasSetRequestTime;
28 ::ll::TypedStorage<1, 1, bool> mHasDoneInsertionTask;
29 ::ll::TypedStorage<8, 184, ::LevelChunkBlockActorStorage> mBlockEntitiesMap;
30 ::ll::TypedStorage<4, 4, float> mCacheRequestAbortTime;
31 ::ll::TypedStorage<1, 1, bool const> mCacheEnabled;
32 ::ll::TypedStorage<1, 1, bool> mHasSetAbortTimer;
33 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mStartCacheRequestTime;
34 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> mCacheCheckAccumulatedTime;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ClientBlobCache::Cache>
const> mCache;
36 ::ll::TypedStorage<8, 32, ::std::string> mCacheBuffer;
37 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mStartTime;
38 ::ll::TypedStorage<1, 1, bool> mSubChunkCheckSumMismatch;
39 ::ll::TypedStorage<8, 88, ::DeserializationChanges> mDeserializationChanges;
44 SubChunkPacketHandler();
49 MCAPI SubChunkPacketHandler(
50 ::SubChunkPacketPayload::SubChunkPacketData
const& packetData,
51 ::std::shared_ptr<::ClientBlobCache::Cache> cache,
52 ::DimensionType dimension,
53 ::SubChunkPos
const& packetCenter
56 MCAPI
void _compareHeightMapsForLightingFixup(
57 ::std::array<::ChunkLocalHeight, 256>& oldHeights,
58 ::std::array<::ChunkLocalHeight, 256>& newHeights
61 MCAPI ~SubChunkPacketHandler();
68 ::SubChunkPacketPayload::SubChunkPacketData
const& packetData,
69 ::std::shared_ptr<::ClientBlobCache::Cache> cache,
70 ::DimensionType dimension,
71 ::SubChunkPos
const& packetCenter
Definition ChunkLocalHeight.h:5
Definition SubChunkPacketHandler.h:5