mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 09:26:36 +00:00
Updated UCS versioning code - update your *.conf files
This commit is contained in:
@@ -140,10 +140,8 @@ public:
|
||||
int GetMailBoxNumber() { return CurrentMailBox; }
|
||||
int GetMailBoxNumber(std::string CharacterName);
|
||||
|
||||
char GetRawConnectionType() { return RawConnectionType; }
|
||||
void SetConnectionType(char c);
|
||||
ConnectionType GetConnectionType() { return TypeOfConnection; }
|
||||
void SetClientVersion(EQEmu::versions::ClientVersion client_version) { ClientVersion_ = client_version; }
|
||||
EQEmu::versions::ClientVersion GetClientVersion() { return ClientVersion_; }
|
||||
|
||||
inline bool IsMailConnection() { return (TypeOfConnection == ConnectionTypeMail) || (TypeOfConnection == ConnectionTypeCombined); }
|
||||
@@ -173,7 +171,6 @@ private:
|
||||
int AttemptedMessages;
|
||||
bool ForceDisconnect;
|
||||
|
||||
char RawConnectionType;
|
||||
ConnectionType TypeOfConnection;
|
||||
EQEmu::versions::ClientVersion ClientVersion_;
|
||||
bool UnderfootOrLater;
|
||||
@@ -190,22 +187,11 @@ public:
|
||||
Client *IsCharacterOnline(std::string CharacterName);
|
||||
void ProcessOPMailCommand(Client *c, std::string CommandString);
|
||||
|
||||
std::list<uint32> ClientVersionRequestIDs;
|
||||
|
||||
void RequestClientVersion(uint32 character_id);
|
||||
bool QueueClientVersionReply(uint32 character_id, EQEmu::versions::ClientVersion client_version);
|
||||
bool CheckForClientVersionReply(Client* c);
|
||||
|
||||
private:
|
||||
typedef std::pair<EQEmu::versions::ClientVersion, uint32> cvt_pair;
|
||||
|
||||
EQ::Net::EQStreamManager *chatsf;
|
||||
|
||||
std::list<Client*> ClientChatConnections;
|
||||
|
||||
std::map<uint32, uint32> ClientVersionRequestQueue;
|
||||
std::map<uint32, cvt_pair> ClientVersionReplyQueue;
|
||||
|
||||
OpcodeManager *ChatOpMgr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user