diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/protocol.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h index 11eee3a9..b57e8d7c 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -24,6 +24,15 @@ #ifndef _TMW_PROTOCOL_H #define _TMW_PROTOCOL_H +// Packets from server to client +#define SMSG_REMOVE_BEING 0x0080 // Died, logged out, teleport, etc. +#define SMSG_MOVE_BEING 0x007b // A nearby monster moves +#define SMSG_PLAYER_UPDATE_1 0x01d8 // +#define SMSG_PLAYER_UPDATE_2 0x01d9 // +#define SMSG_MOVE_PLAYER_BEING 0x01da // A nearby player moves + + + /** Packet length by id */ short get_length(short id); |