summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h
index 0011903b1..4e7d8ce91 100644
--- a/source/cClientHandle.h
+++ b/source/cClientHandle.h
@@ -22,13 +22,14 @@ public:
cClientHandle(const cSocket & a_Socket);
~cClientHandle();
- static const int VIEWDISTANCE = 13; // MUST be odd number or CRASH!
+ static const int VIEWDISTANCE = 15; // MUST be odd number or CRASH!
static const int GENERATEDISTANCE = 2; // Server generates this many chunks AHEAD of player sight.
const cSocket & GetSocket();
cPlayer* GetPlayer() { return m_Player; } // tolua_export
- void Kick( const char* a_Reason ); //tolua_export
+ void Kick(const AString & a_Reason); //tolua_export
+ void Authenticate(void); // Called by cAuthenticator when the user passes authentication
void AddPacket( cPacket * a_Packet );
void HandlePendingPackets();
@@ -51,9 +52,8 @@ public:
static void SendThread( void *lpParam );
static void ReceiveThread( void *lpParam );
- static void AuthenticateThread( void* a_Param );
- const char* GetUsername();
+ const AString & GetUsername(void) const;
inline short GetPing() { return m_Ping; }
private: