Changeset 7d8d5d3 in network-game
- Timestamp:
- Sep 27, 2013, 4:49:13 PM (11 years ago)
- Branches:
- master
- Children:
- 88258c9
- Parents:
- b48ef09
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageContainer.h
rb48ef09 r7d8d5d3 35 35 #define MSG_TYPE_LEAVE_GAME 19 36 36 #define MSG_TYPE_GAME_INFO 20 37 #define MSG_TYPE_JOIN_GAME_ INFO2137 #define MSG_TYPE_JOIN_GAME_SUCCESS 21 38 38 #define MSG_TYPE_JOIN_GAME_FAILURE 22 39 39 #define MSG_TYPE_JOIN_GAME_ACK 23 -
server/server.cpp
rb48ef09 r7d8d5d3 952 952 p->currentGame = g; 953 953 954 serverMsg.type = MSG_TYPE_JOIN_GAME_ INFO;954 serverMsg.type = MSG_TYPE_JOIN_GAME_SUCCESS; 955 955 strcpy(serverMsg.buffer, gameName.c_str()); 956 956 broadcastResponse = false; … … 985 985 p->currentGame = g; 986 986 987 serverMsg.type = MSG_TYPE_JOIN_GAME_ INFO;987 serverMsg.type = MSG_TYPE_JOIN_GAME_SUCCESS; 988 988 strcpy(serverMsg.buffer, gameName.c_str()); 989 989 broadcastResponse = false;
Note:
See TracChangeset
for help on using the changeset viewer.