diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-14 03:39:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-14 03:39:10 +0300 |
commit | 379e554b35f09044dc5e1d361ac6138e39dbb5ab (patch) | |
tree | 834e73b0bf6f1f259bd7bab99231248941382a7b /src | |
parent | 818fc592879d1d12c6ff937fa056da4482b3c8bf (diff) | |
download | plus-379e554b35f09044dc5e1d361ac6138e39dbb5ab.tar.gz plus-379e554b35f09044dc5e1d361ac6138e39dbb5ab.tar.bz2 plus-379e554b35f09044dc5e1d361ac6138e39dbb5ab.tar.xz plus-379e554b35f09044dc5e1d361ac6138e39dbb5ab.zip |
Add packet SMSG_ROULETTE_CLOSE 0x0a1e
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/packetsin.inc | 13 | ||||
-rw-r--r-- | src/net/eathena/rouletterecv.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/rouletterecv.h | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 6ace8fe6f..785ac7b55 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -898,6 +898,18 @@ if (packetVersion >= 20140613) packet(SMSG_BATTLE_UPDATE_HP, 0x0a0e, 14, &BattleGroundRecv::processBattleUpdateHp, 20140613); } +// 20140903 re +if (packetVersionRe >= 20140903) +{ + packet(SMSG_ROULETTE_CLOSE, 0x0a1e, 3, &RouletteRecv::processRouletteClose, 20140903); +} + +// 20141008 main +if (packetVersionMain >= 20141008) +{ + packet(SMSG_ROULETTE_CLOSE, 0x0a1e, 3, &RouletteRecv::processRouletteClose, 20141008); +} + // 20141016 packet(SMSG_ROULETTE_OPEN_ACK, 0x0a1a, 23, &RouletteRecv::processRouletteOpenAck, 20141016); packet(SMSG_ROULETTE_INFO_ACK_TYPE, 0x0a1c, -1, &RouletteRecv::processRouletteInfoAckType, 20141016); @@ -1245,6 +1257,7 @@ if (packets_zero == true) packet(SMSG_GUILD_EXPULSION_LIST, 0x0a87, -1, &GuildRecv::processGuildExpulsionList3, 20171018); packet(SMSG_PLAYER_GUILD_PARTY_INFO, 0x0a30, 106, &BeingRecv::processPlayerGuilPartyInfo2, 20171018); packet(SMSG_NPC_CASH_BUY, 0x0849, 16, &CashShopRecv::processCashShopBuy, 20171018); + packet(SMSG_ROULETTE_CLOSE, 0x0a1e, 3, &RouletteRecv::processRouletteClose, 20171018); } // 20171019 zero diff --git a/src/net/eathena/rouletterecv.cpp b/src/net/eathena/rouletterecv.cpp index 77249a7a1..7190aafa7 100644 --- a/src/net/eathena/rouletterecv.cpp +++ b/src/net/eathena/rouletterecv.cpp @@ -85,4 +85,10 @@ void RouletteRecv::processRouletteOpenAck(Net::MessageIn &msg) msg.readInt32("bronze point"); } +void RouletteRecv::processRouletteClose(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("result"); +} + } // namespace EAthena diff --git a/src/net/eathena/rouletterecv.h b/src/net/eathena/rouletterecv.h index 8f1aaa9a1..a116d502b 100644 --- a/src/net/eathena/rouletterecv.h +++ b/src/net/eathena/rouletterecv.h @@ -34,6 +34,7 @@ namespace EAthena void processRouletteItemAck(Net::MessageIn &msg); void processRouletteGenerateAckType(Net::MessageIn &msg); void processRouletteOpenAck(Net::MessageIn &msg); + void processRouletteClose(Net::MessageIn &msg); } // namespace RouletteRecv } // namespace EAthena |