summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2020-03-28 11:44:44 +0100
committerGitHub <noreply@github.com>2020-03-28 11:44:44 +0100
commit1bc24055d595a136d6c6d8026a58b17706dc1543 (patch)
tree02dd1d52995987b13b24deaf02e2334c434951d3 /src/ClientHandle.h
parentFix Snow Spawn on Cobblestone Slab (#4564) (diff)
downloadcuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.tar
cuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.tar.gz
cuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.tar.bz2
cuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.tar.lz
cuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.tar.xz
cuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.tar.zst
cuberite-1bc24055d595a136d6c6d8026a58b17706dc1543.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 6dcf71a59..00f318191 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -591,6 +591,10 @@ private:
/** Called right after the instance is created to store its SharedPtr inside. */
void SetSelf(cClientHandlePtr a_Self);
+ /** Called to update m_State.
+ Only succeeds if a_NewState > m_State, otherwise returns false. */
+ bool SetState(eState a_NewState);
+
/** Processes the data in the network input and output buffers.
Called by both Tick() and ServerTick(). */
void ProcessProtocolInOut(void);