summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-17 20:09:14 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-17 20:09:14 +0300
commit1bf9b4e88e6e398d0f7e8b88ea78757e88aecfcd (patch)
tree67aa4966f7ba5980608429d172bf806bc1c00277 /src
parent7c6d3721e2a0cbf31213c344ac48765d34ad39a5 (diff)
downloadplus-1bf9b4e88e6e398d0f7e8b88ea78757e88aecfcd.tar.gz
plus-1bf9b4e88e6e398d0f7e8b88ea78757e88aecfcd.tar.bz2
plus-1bf9b4e88e6e398d0f7e8b88ea78757e88aecfcd.tar.xz
plus-1bf9b4e88e6e398d0f7e8b88ea78757e88aecfcd.zip
Add packet SMSG_SHOW_PROGRESS_BAR_FREE 0x09d1.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/npcrecv.cpp9
-rw-r--r--src/net/eathena/npcrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc3
3 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/npcrecv.cpp b/src/net/eathena/npcrecv.cpp
index 4f1fcd962..ec791f498 100644
--- a/src/net/eathena/npcrecv.cpp
+++ b/src/net/eathena/npcrecv.cpp
@@ -81,6 +81,15 @@ void NpcRecv::processNpcShowProgressBar(Net::MessageIn &msg)
msg.readInt32("seconds");
}
+void NpcRecv::processShowProgressBarFree(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ Ea::NpcRecv::mRequestLang = false;
+ msg.readBeingId("account id");
+ msg.readInt32("color");
+ msg.readInt32("time");
+}
+
void NpcRecv::processNpcCloseTimeout(Net::MessageIn &msg)
{
UNIMPLEMENTEDPACKET;
diff --git a/src/net/eathena/npcrecv.h b/src/net/eathena/npcrecv.h
index b53a7e7e4..b9b943ada 100644
--- a/src/net/eathena/npcrecv.h
+++ b/src/net/eathena/npcrecv.h
@@ -41,6 +41,7 @@ namespace EAthena
void processArea(Net::MessageIn &msg);
void processShowDigit(Net::MessageIn &msg);
void processProgressBarAbort(Net::MessageIn &msg);
+ void processShowProgressBarFree(Net::MessageIn &msg);
void processNpcSkin(Net::MessageIn &msg);
} // namespace NpcRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index e9a11cd56..e3304821f 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -745,6 +745,9 @@ if (packetVersion >= 20120925)
packet(SMSG_PLAYER_UNEQUIP, 0x099a, 9, &InventoryRecv::processPlayerUnEquip, 20120925);
}
+// 20130821
+packet(SMSG_SHOW_PROGRESS_BAR_FREE, 0x09d1, 14, &NpcRecv::processShowProgressBarFree, 20130821);
+
// 20121010
packet(SMSG_MAP_TYPE_PROPERTY2, 0x099b, 8, &BeingRecv::processMapTypeProperty, 20121010);