From 1bf9b4e88e6e398d0f7e8b88ea78757e88aecfcd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Jan 2018 20:09:14 +0300 Subject: Add packet SMSG_SHOW_PROGRESS_BAR_FREE 0x09d1. --- src/net/eathena/npcrecv.cpp | 9 +++++++++ src/net/eathena/npcrecv.h | 1 + src/net/eathena/packetsin.inc | 3 +++ 3 files changed, 13 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2