diff options
Diffstat (limited to '')
-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); |