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

Public Member Functions

MCAPI void addServerChunksToPacket (::NetworkIdentifier const &player, ::SubClientId clientId, ::NetworkChunkPublisherUpdatePacket &updatePacket)
MCAPI void clearAllGenerationRequests (::NetworkIdentifier const &player, ::SubClientId clientId)
MCAPI bool hasPendingGenerationRequests (::NetworkIdentifier const &player, ::SubClientId clientId) const
MCAPI void queueChunkGenerationRequest (::NetworkIdentifier const &player, ::SubClientId clientId, ::ChunkPos const &pos)

Public Attributes

::ll::TypedStorage< 8, 24, ::SpinLockImpl > mGenerationRequestLock
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ChunkViewOwner, ::std::unordered_set<::ChunkPos > > > mGenerationRequests

Member Function Documentation

◆ addServerChunksToPacket()

MCAPI void ChunkGenerationManager::addServerChunksToPacket ( ::NetworkIdentifier const & player,
::SubClientId clientId,
::NetworkChunkPublisherUpdatePacket & updatePacket )
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.

◆ clearAllGenerationRequests()

MCAPI void ChunkGenerationManager::clearAllGenerationRequests ( ::NetworkIdentifier const & player,
::SubClientId clientId )
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.

◆ hasPendingGenerationRequests()

MCAPI bool ChunkGenerationManager::hasPendingGenerationRequests ( ::NetworkIdentifier const & player,
::SubClientId clientId ) const
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.

◆ queueChunkGenerationRequest()

MCAPI void ChunkGenerationManager::queueChunkGenerationRequest ( ::NetworkIdentifier const & player,
::SubClientId clientId,
::ChunkPos const & pos )
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: