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

Public Member Functions

MCAPI NetworkChunkPublisher (::Level &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 void moveRegion (::BlockPos const &position, uint blockRadius, ::Vec3 const &direction, float minDistance)
 
MCAPI void prepareRegion (::ChunkSource &mainChunkSource, ::ChunkPos const &center)
 
MCAPI void sendQueuedChunks ()
 
MCAPI void * $ctor (::Level &level, ::NetworkIdentifier const &owner, ::SubClientId subClientId)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::Level & > mLevel
 
::ll::TypedStorage< 8, 8, ::ServerNetworkSystem * > mNetwork
 
::ll::TypedStorage< 8, 160, ::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
 

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