3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/threading/TaskGroup.h"
7#include "mc/world/level/SubChunkPos.h"
27 ::ll::TypedStorage<4, 4, int> mDistanceToPlayerSq;
28 ::ll::TypedStorage<4, 12, ::SubChunkPos> mPosition;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SubChunkPacketHandler>> mHandler;
36 ::ll::TypedStorage<8, 24, ::std::vector<::SubChunkInsertManager::SubChunkInsertTaskInfo>> mQueuedSubChunkTasks;
37 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
38 ::ll::TypedStorage<8, 8, uint64> mMaxInFlightTasksFloor;
39 ::ll::TypedStorage<8, 8, uint64> mMaxInFlightTasks;
40 ::ll::TypedStorage<1, 1, bool> mIsLeavingGame;
41 ::ll::TypedStorage<8, 64, ::std::function<::Player*()>> mGetPrimaryLocalPlayer;
46 SubChunkInsertManager();
51 MCAPI
explicit SubChunkInsertManager(::std::function<::Player*()> getPrimaryLocalPlayer);
53 MCAPI
void addSubChunkInsertTask(::std::shared_ptr<::SubChunkPacketHandler> handler);
57 MCAPI ~SubChunkInsertManager();
63 MCAPI
void* $ctor(::std::function<::Player*()> getPrimaryLocalPlayer);
Definition SubChunkInsertManager.h:5
Definition SubChunkPacketHandler.h:5
Definition SubChunkInsertManager.h:13