summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
authormtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-26 05:06:29 +0100
committermtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-26 05:06:29 +0100
commite2acb45d191a401c2b2f93cbb6484be631bed14d (patch)
treec5b57133da85c12cfda3b3de94943fdce2dbc7ca /source/cPlayer.h
parent - Default Notchian Ping (static until ping implemented through keepalive send/receive) (diff)
downloadcuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.tar
cuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.tar.gz
cuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.tar.bz2
cuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.tar.lz
cuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.tar.xz
cuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.tar.zst
cuberite-e2acb45d191a401c2b2f93cbb6484be631bed14d.zip
Diffstat (limited to '')
-rw-r--r--source/cPlayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cPlayer.h b/source/cPlayer.h
index e25fb1b07..6f52b3f1f 100644
--- a/source/cPlayer.h
+++ b/source/cPlayer.h
@@ -112,5 +112,8 @@ protected:
int m_GameMode;
std::string m_IP;
+ long long m_LastPlayerListTime;
+ static const unsigned short E_PLAYER_LIST_TIME = 1000; // 1000 = once per second
+
cClientHandle* m_ClientHandle;
}; //tolua_export