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
+2 -1
View File
@@ -37,6 +37,7 @@ public:
void setHand(HandInterface *);
int getMyID() const;
void setMyUniqueID(unsigned newId);
unsigned getMyUniqueID() const;
void setMyGuid(const std::string &theValue);
std::string getMyGuid() const;
@@ -152,7 +153,7 @@ private:
// Konstanten
const int myID;
const unsigned myUniqueID;
unsigned myUniqueID;
std::string myGuid;
const PlayerType myType;
std::string myName;