summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-18 00:59:10 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-18 00:59:10 +0200
commit70f3c0e3d530304b1b1162b1bdc6c1177522b7ff (patch)
tree3dd79c4755851fd102d6e41a679fc1e04f7cfe9a /src/common
parent9527d079307454178fea3b2958e301875cecc15a (diff)
parent10fd0338203a46cec913859fd5e38b61fa24a30f (diff)
downloadmanaserv-70f3c0e3d530304b1b1162b1bdc6c1177522b7ff.tar.gz
manaserv-70f3c0e3d530304b1b1162b1bdc6c1177522b7ff.tar.bz2
manaserv-70f3c0e3d530304b1b1162b1bdc6c1177522b7ff.tar.xz
manaserv-70f3c0e3d530304b1b1162b1bdc6c1177522b7ff.zip
Merge git://gitorious.org/~bertram/mana/manaserv-equipment-fix into equipment-fix
Diffstat (limited to 'src/common')
-rw-r--r--src/common/manaserv_protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h
index 710d2f45..78cbbbf1 100644
--- a/src/common/manaserv_protocol.h
+++ b/src/common/manaserv_protocol.h
@@ -93,11 +93,11 @@ enum {
PGMSG_PICKUP = 0x0110, // W*2 position
PGMSG_DROP = 0x0111, // B slot, B 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, 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}*//<- 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