summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-08-21 17:44:25 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-08-21 17:44:25 +0200
commit71035a8706aa89d6cd12f25fea5191fb35787406 (patch)
treeb7bcd071756ce9cc0ac620292fc4f80225913471 /src/ClientHandle.h
parenttest (diff)
downloadcuberite-71035a8706aa89d6cd12f25fea5191fb35787406.tar
cuberite-71035a8706aa89d6cd12f25fea5191fb35787406.tar.gz
cuberite-71035a8706aa89d6cd12f25fea5191fb35787406.tar.bz2
cuberite-71035a8706aa89d6cd12f25fea5191fb35787406.tar.lz
cuberite-71035a8706aa89d6cd12f25fea5191fb35787406.tar.xz
cuberite-71035a8706aa89d6cd12f25fea5191fb35787406.tar.zst
cuberite-71035a8706aa89d6cd12f25fea5191fb35787406.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 0e60d1f0a..44261827d 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -455,6 +455,8 @@ private:
/** Protects m_Link against multithreaded access. */
cCriticalSection m_CSLink;
+ /** Non-owning pointer to the player object we are associated with
+ It is guaranteed to exist whilst the server is running and this clienthandle is alive */
cPlayer * m_Player;
/** Number of ticks since the last network packet was received (increased in Tick(), reset in OnReceivedData()) */