From 59af89235bfb9189dec1fcee40a9231d03690d27 Mon Sep 17 00:00:00 2001 From: "mtilden@gmail.com" Date: Tue, 27 Dec 2011 18:39:06 +0000 Subject: - Added basic ping handling. Not sure what's up with the MC client, though. It doesn't seem to end up giving good results like the KA packet return is hanging and waiting for other things to process instead of being handled on its own to give a true result. Feel free to update if there's any way to deliver truer results. git-svn-id: http://mc-server.googlecode.com/svn/trunk@133 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cPlayer.h') diff --git a/source/cPlayer.h b/source/cPlayer.h index 17e575e91..621b1031c 100644 --- a/source/cPlayer.h +++ b/source/cPlayer.h @@ -115,7 +115,7 @@ protected: std::string m_IP; long long m_LastPlayerListTime; - static const unsigned short E_PLAYER_LIST_TIME = 1000; // 1000 = once per second + static const unsigned short PLAYER_LIST_TIME_MS = 1000; // 1000 = once per second cClientHandle* m_ClientHandle; }; //tolua_export -- cgit v1.2.3