diff options
author | peterbell10 <peterbell10@live.co.uk> | 2020-03-28 11:44:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 11:44:44 +0100 |
commit | 1bc24055d595a136d6c6d8026a58b17706dc1543 (patch) | |
tree | 02dd1d52995987b13b24deaf02e2334c434951d3 /src/ClientHandle.h | |
parent | Fix Snow Spawn on Cobblestone Slab (#4564) (diff) | |
download | cuberite-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.h | 4 |
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); |