Changeset 84754c0 in network-game for server/DataAccess.h


Ignore:
Timestamp:
Oct 17, 2014, 1:14:36 AM (10 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
c666518
Parents:
fb894b4
Message:

Change updatePlayer to take a Player object and update many fields of that object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/DataAccess.h

    rfb894b4 r84754c0  
    2020   bool verifyPassword(string encrypted, string password);
    2121   int insertPlayer(string username, string password, Player::PlayerClass playerClass);
    22    // this method needs to be more rebust. maybe pass in a player object amd
    23    // the method could use the player id to find the player and update any
    24    // attributes that changed
    25    int updatePlayer(string username, string password);
     22   int updatePlayer(Player* player);
    2623
    2724   int* getPlayerRecord(int playerId);
Note: See TracChangeset for help on using the changeset viewer.