Changeset ca44f82 in network-game for server/DataAccess.h
- Timestamp:
- Feb 24, 2013, 1:28:32 AM (12 years ago)
- Branches:
- master
- Children:
- 7b43385
- Parents:
- 3a79253 (diff), 8f85180 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/DataAccess.h
r3a79253 rca44f82 3 3 4 4 #include <string> 5 #include <list> 5 6 6 7 #include <mysql/mysql.h> … … 16 17 17 18 int insertPlayer(string username, string password); 19 int updatePlayer(string username, string password); 18 20 19 Player *getPlayer(string username); 20 int printPlayers(); 21 Player* getPlayer(string username); 22 list<Player*>* getPlayers(); 23 bool verifyPassword(string encrypted, string password); 21 24 22 25 int insert(string table, string rows, string values); 26 int update(string table, string values, string where); 23 27 MYSQL_RES *select(string table, string filter); 24 28
Note:
See TracChangeset
for help on using the changeset viewer.