LeviLamina
Loading...
Searching...
No Matches
ChunkTickRangeManager Class Reference

Public Member Functions

MCAPI void _onChunkLoaded (::ChunkSource &, ::LevelChunk &levelChunk, int closestPlayerDistanceSquared)
MCAPI bool isChunkInTickRange (::LevelChunk const &lc, ::std::optional< int > minDistToPlayer) const
MCAPI bool isChunkInTickRange (::ChunkPos const &chunkPos, ::Dimension const &dimension, bool shouldServerGenerate, float serverBuildRatio, int chunkViewRadius, int numActiveUsers) const
MCAPI void registerForLevelChunkEvents (::ILevelChunkEventManagerConnector &levelChunkEventManagerConnector)

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnChunkLoaded
::ll::TypedStorage< 4, 4, uint > mChunkTickRange
::ll::TypedStorage< 4, 4, uint > mMaxSimRadiusInChunks

Member Function Documentation

◆ _onChunkLoaded()

MCAPI void ChunkTickRangeManager::_onChunkLoaded ( ::ChunkSource & ,
::LevelChunk & levelChunk,
int closestPlayerDistanceSquared )
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.

◆ isChunkInTickRange() [1/2]

MCAPI bool ChunkTickRangeManager::isChunkInTickRange ( ::LevelChunk const & lc,
::std::optional< int > minDistToPlayer ) 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.

◆ isChunkInTickRange() [2/2]

MCAPI bool ChunkTickRangeManager::isChunkInTickRange ( ::ChunkPos const & chunkPos,
::Dimension const & dimension,
bool shouldServerGenerate,
float serverBuildRatio,
int chunkViewRadius,
int numActiveUsers ) 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.

◆ registerForLevelChunkEvents()

MCAPI void ChunkTickRangeManager::registerForLevelChunkEvents ( ::ILevelChunkEventManagerConnector & levelChunkEventManagerConnector)
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: