Changeset cd80d63 in network-game
- Timestamp:
- Dec 25, 2013, 8:49:15 PM (11 years ago)
- Branches:
- master
- Children:
- cbc70eb
- Parents:
- 29fdf12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
r29fdf12 rcd80d63 1078 1078 break; 1079 1079 } 1080 case MSG_TYPE_LEAVE_GAME: 1081 { 1082 cout << "Received a LEAVE_GAME message" << endl; 1083 1084 string gameName(msg.buffer+4); 1085 unsigned int playerId; 1086 1087 memcpy(&playerId, msg.buffer, 4); 1088 1089 game->removePlayer(playerId); 1090 1091 break; 1092 } 1080 1093 case MSG_TYPE_PLAYER_MOVE: 1081 1094 {
Note:
See TracChangeset
for help on using the changeset viewer.