Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LevelChunkGarbageCollector Class Reference

Public Member Functions

LevelChunkGarbageCollector & operator= (LevelChunkGarbageCollector const &)
 LevelChunkGarbageCollector (LevelChunkGarbageCollector const &)
MCAPI void acquireDiscardedChunk (::std::unique_ptr<::LevelChunk > discarded)
MCAPI void flush ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Dimension & > mDimension
::ll::TypedStorage< 8, 80, ::std::mutex > mMutex
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::LevelChunk, ::LevelChunkFinalDeleter > > > mLevelChunksToDiscard
::ll::TypedStorage< 8, 8, ::std::atomic< uint64 > > mPendingDeletes

Member Function Documentation

◆ acquireDiscardedChunk()

MCAPI void LevelChunkGarbageCollector::acquireDiscardedChunk ( ::std::unique_ptr<::LevelChunk > discarded)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ flush()

MCAPI void LevelChunkGarbageCollector::flush ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: