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

Public Member Functions

NetworkChunkPublisheroperator= (NetworkChunkPublisher const &)
 NetworkChunkPublisher (NetworkChunkPublisher const &)
MCAPI NetworkChunkPublisher (::ILevel &level, ::NetworkIdentifier const &owner, ::SubClientId subClientId)
MCAPI bool _isWaitingForFullyBuiltChunks () const
MCAPI bool _sendQueuedChunk (::ChunkPositionAndDimension const &queuedChunk, ::ClientBlobCache::Server::TransferBuilder *cachedTransfer)
MCAPI void _serializeAndCache (::LevelChunkPacket &packet, ::ClientBlobCache::Server::TransferBuilder &transfer, ::std::function< void(::VarIntDataOutput &)> &&serialize)
MCAPI void clearRegion ()
MCAPI_C void handleGenerationRequests ()
MCAPI void moveRegion (::BlockPos const &position, uint blockRadius, ::Vec3 const &direction, float minDistance)
MCAPI void prepareRegion (::ChunkSource &mainChunkSource, ::ChunkPos const &center)
MCAPI_C void queueChunkGenerationRequests (::ChunkPos moveCenter, int chunkRadius, ::Vec3 const &direction, ::std::vector<::ChunkPos > const &serverChunks)
MCAPI void sendQueuedChunks ()
MCAPI void * $ctor (::ILevel &level, ::NetworkIdentifier const &owner, ::SubClientId subClientId)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ILevel & > mLevel
::ll::TypedStorage< 8, 8, ::ServerNetworkSystem * > mNetwork
::ll::TypedStorage< 8, 176, ::NetworkIdentifiermOwner
::ll::TypedStorage< 8, 8, ::ClientBlobCache::Server::ActiveTransfersManager * > mClientCache
::ll::TypedStorage< 1, 1, ::SubClientId > mSubClientId
::ll::TypedStorage< 4, 12, ::BlockPosmLastChunkUpdatePosition
::ll::TypedStorage< 4, 4, uint > mLastChunkUpdateRadius
::ll::TypedStorage< 4, 4, uint > mHandleForChunkBuildOrderUpdates
::ll::TypedStorage< 4, 4, int > mChunksSentSinceStart
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ChunkViewSource > > mSource
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ChunkSource > > mNetworkChunkSource
::ll::TypedStorage< 8, 64, ::std::function< void(::buffer_span_mut<::std::shared_ptr<::LevelChunk > >, ::buffer_span< uint >)> > mAddCallback
::ll::TypedStorage< 8, 32, ::std::string > mCacheSerializeBuffer
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ChunkPositionAndDimension, ::std::weak_ptr<::LevelChunk > > > mQueuedChunks
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLastGenerationRequestQueued
::ll::TypedStorage< 1, 1, bool > mWaitingForServerChunks
::ll::TypedStorage< 1, 1, bool > mInitialSpawnDone
::ll::TypedStorage< 8, 40, ::std::queue<::ClientGenerationRequestHandler, ::std::deque<::ClientGenerationRequestHandler > > > mGenerationRequests

Member Function Documentation

◆ $vftable()

MCAPI void ** NetworkChunkPublisher::$vftable ( )
static
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: