Added serverDatabase library

This commit is contained in:
Anonymous
2014-01-17 08:02:53 -07:00
parent 5783bdd0e2
commit ebad6e01af
206 changed files with 14638 additions and 0 deletions
@@ -0,0 +1,41 @@
// GameServerConnection.h
// copyright 2001 Verant Interactive
// Author: Justin Randall
#ifndef _GameServerConnection_H
#define _GameServerConnection_H
//-----------------------------------------------------------------------
#include "serverUtility/ServerConnection.h"
//-----------------------------------------------------------------------
class GameServerConnection : public ServerConnection
{
public:
GameServerConnection (const std::string & remoteAddress, const unsigned short remotePort);
explicit GameServerConnection (UdpConnectionMT *, TcpClient *);
virtual ~GameServerConnection ();
void onConnectionClosed ();
void onConnectionOpened ();
void onReceive (const Archive::ByteStream & message);
void queueCompletedChunk (int nodeX, int nodeZ);
void sendChunkCompleteMessage();
void clearChunkCompleteQueue();
private:
typedef stdvector<std::pair<int, int> >::fwd ChunkCompleteQueueType;
ChunkCompleteQueueType * const m_chunkCompleteQueue;
private:
GameServerConnection(GameServerConnection&);
GameServerConnection& operator=(GameServerConnection&);
};
//-----------------------------------------------------------------------
#endif // _GameServerConnection_H