diff options
author | madmaxoft <github@xoft.cz> | 2013-09-08 18:36:06 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-08 18:37:35 +0200 |
commit | b9066ab8f97a0f0dc7ec3104760826a0c303eb0f (patch) | |
tree | abec77089eac18be17b97d95636616c843366571 /source/ClientHandle.h | |
parent | Re-added the top line. (diff) | |
download | cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.tar cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.tar.gz cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.tar.bz2 cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.tar.lz cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.tar.xz cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.tar.zst cuberite-b9066ab8f97a0f0dc7ec3104760826a0c303eb0f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/ClientHandle.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/ClientHandle.h b/source/ClientHandle.h index 9a2092361..67ddcb0ba 100644 --- a/source/ClientHandle.h +++ b/source/ClientHandle.h @@ -299,17 +299,14 @@ private: static int s_ClientCount; int m_UniqueID; + /// Set to true when the chunk where the player is is sent to the client. Used for spawning the player + bool m_HasSentPlayerChunk; + /// Returns true if the rate block interactions is within a reasonable limit (bot protection) bool CheckBlockInteractionsRate(void); - /// Checks whether all loaded chunks have been sent to the client; if so, sends the position to confirm - void CheckIfWorldDownloaded(void); - - /// Sends the PlayerMoveLook packet that the client needs to reply to for the game to start - void SendConfirmPosition(void); - /// Adds a single chunk to be streamed to the client; used by StreamChunks() void StreamChunk(int a_ChunkX, int a_ChunkZ); |