summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-13 23:27:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-13 23:27:28 +0300
commit9a11f30d150928e504406139691b42cce0922174 (patch)
tree2474bb28c75a5aac2b5f9d8e514d885f059a31ce /src
parent4466f50d7bb2d83d2b3cd86d85aff14486f84756 (diff)
downloadmv-9a11f30d150928e504406139691b42cce0922174.tar.gz
mv-9a11f30d150928e504406139691b42cce0922174.tar.bz2
mv-9a11f30d150928e504406139691b42cce0922174.tar.xz
mv-9a11f30d150928e504406139691b42cce0922174.zip
Add packet SMSG_SELECT_CART 0x00c2
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/inventoryrecv.cpp10
-rw-r--r--src/net/eathena/inventoryrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc3
3 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index d17e83917..ecd0a8257 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1098,4 +1098,14 @@ void InventoryRecv::processPlayerInventoryRemove(Net::MessageIn &msg)
BLOCK_END("InventoryRecv::processPlayerInventoryRemove")
}
+void InventoryRecv::processSelectCart(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ const int count = msg.readInt16("len") - 8;
+ msg.readBeingId("account id");
+ for (int f = 0; f < count; f ++)
+ msg.readUInt8("cart type");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/inventoryrecv.h b/src/net/eathena/inventoryrecv.h
index 60d54b774..2726f88f7 100644
--- a/src/net/eathena/inventoryrecv.h
+++ b/src/net/eathena/inventoryrecv.h
@@ -70,6 +70,7 @@ namespace EAthena
void processCartAddError(Net::MessageIn &msg);
void processBindItem(Net::MessageIn &msg);
void processPlayerInventoryRemove(Net::MessageIn &msg);
+ void processSelectCart(Net::MessageIn &msg);
} // namespace InventoryRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 6ea86aef2..0cfa88238 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -470,3 +470,6 @@ if (packetVersion >= 20150513)
packet(SMSG_BEING_SPAWN, 0x09fe, -1, &BeingRecv::processBeingSpawn);
packet(SMSG_BEING_MOVE, 0x09fd, -1, &BeingRecv::processBeingMove);
}
+
+// introduced in 20150805
+packet(SMSG_SELECT_CART, 0x00c2, -1, &InventoryRecv::processSelectCart);