17class RuntimeLightingManager {
30 ::ll::TypedStorage<4, 4, float> mDist;
31 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
32 ::ll::TypedStorage<8, 8, uint64> mSubChunkIndex;
33 ::ll::TypedStorage<8, 8, ::std::vector<::SubChunkLightUpdate>*> mAlteredBlockList;
41 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::SubChunkLightUpdate>>> mAlteredSubchunkBlockList;
60 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ChunkPos, ::RuntimeLightingManager::RuntimeLightingSubchunkList>>
62 ::ll::TypedStorage<8, 24, ::std::vector<::RuntimeLightingManager::RelightingChunkElement>> mListOfChunksToProcess;
63 ::ll::TypedStorage<8, 24, ::std::vector<::SubChunkPos>> mProcessedSubchunks;
64 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mBrightnessChangedList;
65 ::ll::TypedStorage<8, 8, ::Dimension&> mDimension;
66 ::ll::TypedStorage<1, 1, bool> mWorkerScheduled;
67 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> mLightingTimeboxTime;
72 RuntimeLightingManager& operator=(RuntimeLightingManager
const&);
73 RuntimeLightingManager(RuntimeLightingManager
const&);
74 RuntimeLightingManager();
79 virtual ~RuntimeLightingManager();
85 MCAPI
void _getListOfChunksWithPlayerDistance();
87 MCAPI
void _relightChunks(::std::chrono::nanoseconds timeLimit);
89 MCAPI
void _removeProcessedSubchunks();
91 MCAPI
void updateBlockLight(