Starting login dialog integration on client side.

This commit is contained in:
lotodore
2009-09-24 20:10:40 +00:00
parent 64613ac9b4
commit 39285263b7
11 changed files with 65 additions and 42 deletions
+2 -2
View File
@@ -35,10 +35,10 @@ public:
virtual void Init(const std::string &host, const std::string &user, const std::string &pwd,
const std::string &database, const std::string &encryptionKey) = 0;
virtual async_handle AsyncPlayerLogin(const std::string &playerName, const std::string &secretString) = 0;
virtual void AsyncPlayerLogin(unsigned requestId, const std::string &playerName, const std::string &secretString) = 0;
virtual bool PlayerLogout(db_id playerId) = 0;
virtual async_handle AsyncCreateGame(const db_list &players) = 0;
virtual void AsyncCreateGame(unsigned requestId, const db_list &players) = 0;
virtual bool SetGamePlayerPlace(db_id gameId, db_id playerId, unsigned place) = 0;
virtual bool EndGame(db_id gameId) = 0;
};