Trying to make rejoin work, still broken due to change of unique id during game.

This commit is contained in:
lotodore
2011-09-28 20:20:08 +00:00
parent 2488ea43cd
commit d6ab25d816
11 changed files with 74 additions and 31 deletions
+3
View File
@@ -98,6 +98,8 @@ public:
void SetOldGuid(const std::string &guid);
DB_id GetDBId() const;
void SetDBId(DB_id id);
int GetStartCash() const;
void SetStartCash(int cash);
bool operator<(const PlayerData &other) const;
@@ -105,6 +107,7 @@ private:
const unsigned m_uniqueId;
DB_id m_dbId;
int m_number;
int m_startCash; // only used if > 0
std::string m_guid;
std::string m_oldGuid;
std::string m_name;