diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-18 14:12:53 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-18 14:12:53 -0700 |
commit | dd623d120eac0e52427f5a0747e58f84b2b7a625 (patch) | |
tree | f08234723457263d0340b7cdae5aec792817ddc4 /core/Messenger.h | |
parent | dd47a905a0f02e56cda347214a623f967b550b1d (diff) | |
parent | 0de611627d7c5eb666e05d4cb2fd2de990e4d01b (diff) |
Merge pull request #50 from stal888/master
Move packet IDs to Messenger.h.
Diffstat (limited to 'core/Messenger.h')
-rw-r--r-- | core/Messenger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Messenger.h b/core/Messenger.h index c89d0f52..3ba74d39 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -32,6 +32,11 @@ | |||
32 | 32 | ||
33 | #define MAX_NAME_LENGTH 128 | 33 | #define MAX_NAME_LENGTH 128 |
34 | #define MAX_USERSTATUS_LENGTH 128 | 34 | #define MAX_USERSTATUS_LENGTH 128 |
35 | |||
36 | #define PACKET_ID_NICKNAME 48 | ||
37 | #define PACKET_ID_USERSTATUS 49 | ||
38 | #define PACKET_ID_MESSAGE 64 | ||
39 | |||
35 | // don't assume MAX_USERSTATUS_LENGTH will stay at 128, it may be increased | 40 | // don't assume MAX_USERSTATUS_LENGTH will stay at 128, it may be increased |
36 | // to an absurdly large number later | 41 | // to an absurdly large number later |
37 | 42 | ||