Change space indentation to tabs

This commit is contained in:
j883376
2013-05-09 10:44:08 -04:00
parent ffcff4aea1
commit 4bdd8b2502
393 changed files with 22463 additions and 23238 deletions
+44 -44
View File
@@ -1,19 +1,19 @@
/* EQEMu: Everquest Server Emulator
Copyright (C) 2001-2010 EQEMu Development Team (http://eqemulator.net)
/* EQEMu: Everquest Server Emulator
Copyright (C) 2001-2010 EQEMu Development Team (http://eqemulator.net)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY except by those people which sell it, which
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY except by those people which sell it, which
are required to give you total support for your newly bought product;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef EQEMU_CLIENT_H
#define EQEMU_CLIENT_H
@@ -49,85 +49,85 @@ enum LoginMode
};
/**
* Client class, controls a single client and it's
* connection to the login server.
*/
* Client class, controls a single client and it's
* connection to the login server.
*/
class Client
{
public:
/**
* Constructor, sets our connection to c and version to v
*/
* Constructor, sets our connection to c and version to v
*/
Client(EQStream *c, ClientVersion v);
/**
* Destructor.
*/
* Destructor.
*/
~Client() { }
/**
* Processes the client's connection and does various actions.
*/
* Processes the client's connection and does various actions.
*/
bool Process();
/**
* Sends our reply to session ready packet.
*/
* Sends our reply to session ready packet.
*/
void Handle_SessionReady(const char* data, unsigned int size);
/**
* Verifies login and send a reply.
*/
* Verifies login and send a reply.
*/
void Handle_Login(const char* data, unsigned int size);
/**
* Sends a packet to the requested server to see if the client is allowed or not.
*/
* Sends a packet to the requested server to see if the client is allowed or not.
*/
void Handle_Play(const char* data);
/**
* Sends a server list packet to the client.
*/
* Sends a server list packet to the client.
*/
void SendServerListPacket();
/**
* Sends the input packet to the client and clears our play response states.
*/
* Sends the input packet to the client and clears our play response states.
*/
void SendPlayResponse(EQApplicationPacket *outapp);
/**
* Generates a random login key for the client during login.
*/
* Generates a random login key for the client during login.
*/
void GenerateKey();
/**
* Gets the account id of this client.
*/
* Gets the account id of this client.
*/
unsigned int GetAccountID() const { return account_id; }
/**
* Gets the account name of this client.
*/
* Gets the account name of this client.
*/
string GetAccountName() const { return account_name; }
/**
* Gets the key generated at login for this client.
*/
* Gets the key generated at login for this client.
*/
string GetKey() const { return key; }
/**
* Gets the server selected to be played on for this client.
*/
* Gets the server selected to be played on for this client.
*/
unsigned int GetPlayServerID() const { return play_server_id; }
/**
* Gets the play sequence state for this client.
*/
* Gets the play sequence state for this client.
*/
unsigned int GetPlaySequence() const { return play_sequence_id; }
/**
* Gets the connection for this client.
*/
* Gets the connection for this client.
*/
EQStream *GetConnection() { return connection; }
private:
EQStream *connection;