Changeset 426fb84 in network-game for server/DataAccess.h


Ignore:
Timestamp:
Nov 10, 2014, 3:12:54 AM (10 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
a9a1295
Parents:
347d768
Message:

Save the actual time a game ends to the databse and send it to the client as part of a player's game history

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/DataAccess.h

    r347d768 r426fb84  
    2323   int* getPlayerRecord(int playerId);
    2424   int** getPlayerGameHistory(int playerId, unsigned int& numGames);
    25    int saveGameHistory(int playerId, int team, int blueScore, int redScore);
     25   int saveGameHistory(int playerId, int team, int blueScore, int redScore, time_t timeFinished);
    2626
    2727   int insert(string table, string rows, string values);
Note: See TracChangeset for help on using the changeset viewer.