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
+2 -2
View File
@@ -44,8 +44,8 @@ public:
virtual void PlayerLogout(DB_id playerId) = 0;
virtual void AsyncCreateGame(unsigned requestId, const std::string &gameName) = 0;
virtual void SetGamePlayerPlace(DB_id gameId, DB_id playerId, unsigned place) = 0;
virtual void EndGame(DB_id gameId) = 0;
virtual void SetGamePlayerPlace(unsigned requestId, DB_id playerId, unsigned place) = 0;
virtual void EndGame(unsigned requestId) = 0;
virtual void AsyncReportAvatar(unsigned requestId, unsigned replyId, DB_id reportedPlayerId, const std::string &avatarHash, const std::string &avatarType, DB_id *byPlayerId) = 0;
};