summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 12:50:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 12:50:25 +0300
commitf4b973c1e75e43d75ab9d6eb4f629eb10d15a520 (patch)
treef9e886412269351eb7482971a7589a6f55d1144d /src/net/eathena/inventoryhandler.cpp
parent05fe7fa2f5a3a8c31bce7336da82145d99e5f477 (diff)
downloadManaVerse-f4b973c1e75e43d75ab9d6eb4f629eb10d15a520.tar.gz
ManaVerse-f4b973c1e75e43d75ab9d6eb4f629eb10d15a520.tar.bz2
ManaVerse-f4b973c1e75e43d75ab9d6eb4f629eb10d15a520.tar.xz
ManaVerse-f4b973c1e75e43d75ab9d6eb4f629eb10d15a520.zip
eathena: add partial support for packet SMSG_PLAYER_REFINE 0x0188.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp14
1 files changed, 14 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