Changeset 5f868c0 in network-game for common/Message.h
- Timestamp:
- May 22, 2013, 10:34:42 PM (12 years ago)
- Branches:
- master
- Children:
- 45b2750
- Parents:
- 6e66ffd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Message.h
r6e66ffd r5f868c0 2 2 #define _MESSAGE_H 3 3 4 #define MSG_TYPE_REGISTER 1 5 #define MSG_TYPE_LOGIN 2 6 #define MSG_TYPE_LOGOUT 3 7 #define MSG_TYPE_CHAT 4 8 #define MSG_TYPE_PLAYER 5 // server sends this to update player positions 9 #define MSG_TYPE_PLAYER_MOVE 6 // client sends this when a player wants to move 4 #define MSG_TYPE_REGISTER 1 5 #define MSG_TYPE_LOGIN 2 6 #define MSG_TYPE_LOGOUT 3 7 #define MSG_TYPE_CHAT 4 8 #define MSG_TYPE_PLAYER 5 // server sends this to update player positions 9 #define MSG_TYPE_PLAYER_MOVE 6 // client sends this when a player wants to move 10 #define MSG_TYPE_OBJECT 7 11 #define MSG_TYPE_REMOVE_OBJECT 8 10 12 11 13 typedef struct
Note:
See TracChangeset
for help on using the changeset viewer.