diff options
author | blue112 <bluesansdouze@gmail.com> | 2009-04-21 15:36:50 +0200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-21 08:31:07 -0600 |
commit | 0d100ca5fc6854de9906d9e972ef26be6bbed802 (patch) | |
tree | 012c4016af6243e3f33a5a39d74c9c6cd12e0f5f /src/defines.h | |
parent | e26e524ad739dafd99954add3c2f35842e9fb6ec (diff) | |
download | manaserv-0d100ca5fc6854de9906d9e972ef26be6bbed802.tar.gz manaserv-0d100ca5fc6854de9906d9e972ef26be6bbed802.tar.bz2 manaserv-0d100ca5fc6854de9906d9e972ef26be6bbed802.tar.xz manaserv-0d100ca5fc6854de9906d9e972ef26be6bbed802.zip |
Trade System Patch (server side)
Server side modification for making the three steps trade working.
For tmwserv
Some trade related protocol modification too.
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/defines.h b/src/defines.h index e4421e0c..a6655447 100644 --- a/src/defines.h +++ b/src/defines.h @@ -172,12 +172,15 @@ enum { GPMSG_TRADE_COMPLETE = 0x02C3, // - PGMSG_TRADE_CANCEL = 0x02C4, // - GPMSG_TRADE_CANCEL = 0x02C5, // - - PGMSG_TRADE_ACCEPT = 0x02C6, // - - GPMSG_TRADE_ACCEPT = 0x02C7, // - - PGMSG_TRADE_ADD_ITEM = 0x02C8, // B slot, B amount - GPMSG_TRADE_ADD_ITEM = 0x02C9, // W item id, B amount - PGMSG_TRADE_SET_MONEY = 0x02CA, // L amount - GPMSG_TRADE_SET_MONEY = 0x02CB, // L amount + PGMSG_TRADE_AGREED = 0x02C6, // - + GPMSG_TRADE_AGREED = 0x02C7, // - + PGMSG_TRADE_CONFIRM = 0x02C8, // - + GPMSG_TRADE_CONFIRM = 0x02C9, // - + PGMSG_TRADE_ADD_ITEM = 0x02CA, // B slot, B amount + GPMSG_TRADE_ADD_ITEM = 0x02CB, // W item id, B amount + PGMSG_TRADE_SET_MONEY = 0x02CC, // L amount + GPMSG_TRADE_SET_MONEY = 0x02CD, // L amount + GPMSG_TRADE_BOTH_CONFIRM = 0x02CE, // - PGMSG_USE_ITEM = 0x0300, // B slot GPMSG_USE_RESPONSE = 0x0301, // B error GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W amount }* |