Changeset 01d0d00 in network-game for common/Player.h
- Timestamp:
- Dec 27, 2012, 7:04:49 PM (12 years ago)
- Branches:
- master
- Children:
- 0333211, 3a79253
- Parents:
- 5066e27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.h
r5066e27 r01d0d00 19 19 class Player { 20 20 public: 21 Player(); 22 Player(const Player& p); 21 23 Player(string name, string password); 22 24 Player(string name, sockaddr_in addr); // this will be deleted 25 23 26 ~Player(); 24 27 … … 26 29 void deserialize(char* buffer); 27 30 31 void setId(int id); 28 32 void setAddr(sockaddr_in addr); 29 33 34 int id; 30 35 string name; 31 36 string password;
Note:
See TracChangeset
for help on using the changeset viewer.