No longer use database game id, because it may not exist yet (related to issue #14)

This commit is contained in:
lotodore
2011-03-20 22:38:03 +00:00
parent 6ccd1d0d0e
commit 979f079a57
9 changed files with 19 additions and 47 deletions
-4
View File
@@ -52,9 +52,6 @@ public:
u_int32_t GetId() const;
const std::string &GetName() const;
DB_id GetDBId() const;
void SetDBId(DB_id newId);
void AddSession(boost::shared_ptr<SessionData> session);
void RemovePlayer(unsigned playerId, unsigned errorCode);
@@ -193,7 +190,6 @@ private:
ServerGameState *m_curState;
const u_int32_t m_id;
DB_id m_dbId;
const std::string m_name;
const std::string m_password;
ConfigFile &m_playerConfig;