summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/inventoryhandler.cpp14
-rw-r--r--src/net/eathena/inventoryhandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 17 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 96a88c0b3..ca354bf6c 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -106,6 +106,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_CART_REMOVE,
SMSG_PLAYER_IDENTIFY_LIST,
SMSG_PLAYER_IDENTIFIED,
+ SMSG_PLAYER_REFINE,
0
};
handledMessages = _messages;
@@ -238,6 +239,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processPlayerIdentified(msg);
break;
+ case SMSG_PLAYER_REFINE:
+ processPlayerRefine(msg);
+ break;
+
default:
break;
}
@@ -972,4 +977,13 @@ void InventoryHandler::processPlayerIdentified(Net::MessageIn &msg)
msg.readUInt8("flag");
}
+void InventoryHandler::processPlayerRefine(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt16("flag");
+ msg.readInt16("inv index");
+ msg.readInt16("val");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/inventoryhandler.h b/src/net/eathena/inventoryhandler.h
index 719515c33..b9ee79912 100644
--- a/src/net/eathena/inventoryhandler.h
+++ b/src/net/eathena/inventoryhandler.h
@@ -119,6 +119,8 @@ class InventoryHandler final : public MessageHandler,
static void processPlayerIdentified(Net::MessageIn &msg);
+ static void processPlayerRefine(Net::MessageIn &msg);
+
static Ea::InventoryItems mCartItems;
};
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index fe77ca0ea..5436d57ba 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -80,6 +80,7 @@
#define SMSG_PLAYER_CART_REMOVE 0x0125
#define SMSG_PLAYER_ITEM_RENTAL_TIME 0x0298
#define SMSG_PLAYER_ITEM_RENTAL_EXPIRED 0x0299
+#define SMSG_PLAYER_REFINE 0x0188
#define SMSG_PLAYER_EQUIPMENT 0x0992
#define SMSG_PLAYER_EQUIP 0x0999
#define SMSG_PLAYER_UNEQUIP 0x099a