mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 12:33:55 -07:00
always get next game/replay id from database to avoid id collisions in multi-server mode
This commit is contained in:
parent
9706ecd98a
commit
c9a8429044
5 changed files with 38 additions and 25 deletions
|
|
@ -115,6 +115,8 @@ public:
|
|||
void incTxBytes(quint64 num);
|
||||
void incRxBytes(quint64 num);
|
||||
int getUserIdInDB(const QString &name);
|
||||
int getNextGameId();
|
||||
int getNextReplayId();
|
||||
void storeGameInformation(int secondsElapsed, const QSet<QString> &allPlayersEver, const QSet<QString> &allSpectatorsEver, const QList<GameReplay *> &replays);
|
||||
DeckList *getDeckFromDatabase(int deckId, const QString &userName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue