diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 02:24:44 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 02:24:44 +0200 |
commit | f8551d9ef4a745327bccb9e4cb54a22f6a28cf80 (patch) | |
tree | 9af300838e58e2e2c7aeaca5765e7dbbb30d8b6d /src/net/manaserv/manaserv_protocol.h | |
parent | 3b7740f133e195b0a0b11090ea8c2b8a7b64411c (diff) | |
download | mana-client-f8551d9ef4a745327bccb9e4cb54a22f6a28cf80.tar.gz mana-client-f8551d9ef4a745327bccb9e4cb54a22f6a28cf80.tar.bz2 mana-client-f8551d9ef4a745327bccb9e4cb54a22f6a28cf80.tar.xz mana-client-f8551d9ef4a745327bccb9e4cb54a22f6a28cf80.zip |
Made the client able to successfully equip/unequip!
Diffstat (limited to 'src/net/manaserv/manaserv_protocol.h')
-rw-r--r-- | src/net/manaserv/manaserv_protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/manaserv_protocol.h b/src/net/manaserv/manaserv_protocol.h index 12d05e11..624e5ac0 100644 --- a/src/net/manaserv/manaserv_protocol.h +++ b/src/net/manaserv/manaserv_protocol.h @@ -91,11 +91,11 @@ enum { PGMSG_PICKUP = 0x0110, // W*2 position PGMSG_DROP = 0x0111, // W slot, W amount PGMSG_EQUIP = 0x0112, // W inventory slot - PGMSG_UNEQUIP = 0x0113, // W equipment slot + PGMSG_UNEQUIP = 0x0113, // W item Instance id PGMSG_MOVE_ITEM = 0x0114, // W slot1, W slot2, W amount GPMSG_INVENTORY = 0x0120, // { W slot, W item id [, W amount] (if item id is nonzero) }* GPMSG_INVENTORY_FULL = 0x0121, // W inventory slot count { W slot, W itemId, W amount }, { W equip slot type, W item id, W item instance}* - GPMSG_EQUIP = 0x0122, // W item Id, W equip slot type count { W equip slot, W capacity used}* + GPMSG_EQUIP = 0x0122, // W item Id, W equip slot type count //{ W equip slot, W capacity used, W item instance}*//<- When equipping, //{ W item instance, W 0}*//<- When unequipping GPMSG_PLAYER_ATTRIBUTE_CHANGE = 0x0130, // { W attribute, D base value (in 1/256ths), D modified value (in 1/256ths)}* GPMSG_PLAYER_EXP_CHANGE = 0x0140, // { W skill, D exp got, D exp needed }* GPMSG_LEVELUP = 0x0150, // W new level, W character points, W correction points |