Changeset 5f868c0 in network-game for common/Message.h


Ignore:
Timestamp:
May 22, 2013, 10:34:42 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
45b2750
Parents:
6e66ffd
Message:

Added partial server support for new messages for sending item info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Message.h

    r6e66ffd r5f868c0  
    22#define _MESSAGE_H
    33
    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
    1012
    1113typedef struct
Note: See TracChangeset for help on using the changeset viewer.