summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-06-29 00:40:28 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-07-06 22:33:03 +0200
commit06a2b1211b7241acce8dfbfebc9eed19a987708c (patch)
tree2a6dd0aa8439bbf826a032d1cff64249dabadc35 /src/ClientHandle.h
parentRemove some unused typedefs (diff)
downloadcuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.tar
cuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.tar.gz
cuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.tar.bz2
cuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.tar.lz
cuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.tar.xz
cuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.tar.zst
cuberite-06a2b1211b7241acce8dfbfebc9eed19a987708c.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 17dbefbeb..c33bd7fe0 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -117,8 +117,8 @@ public: // tolua_export
/** Authenticates the specified user, called by cAuthenticator */
void Authenticate(const AString & a_Name, const cUUID & a_UUID, const Json::Value & a_Properties);
- /** This function sends a new unloaded chunk to the player. Returns true if all chunks are loaded. */
- bool StreamNextChunk();
+ /** Sends a set number of new chunks to the player on every invocation, until all chunks in the view distance have been sent. */
+ void StreamNextChunks();
/** Remove all loaded chunks that are no longer in range */
void UnloadOutOfRangeChunks(void);
@@ -407,8 +407,6 @@ public: // tolua_export
/** Returns the protocol version number of the protocol that the client is talking. Returns zero if the protocol version is not (yet) known. */
UInt32 GetProtocolVersion(void) const { return m_ProtocolVersion; } // tolua_export
- void InvalidateCachedSentChunk();
-
bool IsPlayerChunkSent();
private: