diff options
Diffstat (limited to 'src/net/eathena/roulettehandler.cpp')
-rw-r--r-- | src/net/eathena/roulettehandler.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/net/eathena/roulettehandler.cpp b/src/net/eathena/roulettehandler.cpp index f8c330527..1f22e3f36 100644 --- a/src/net/eathena/roulettehandler.cpp +++ b/src/net/eathena/roulettehandler.cpp @@ -39,6 +39,7 @@ RouletteHandler::RouletteHandler() : { SMSG_ROULETTE_INFO_ACK_TYPE, SMSG_ROULETTE_RECV_ITEM_ACK, + SMSG_ROULETTE_GENERATE_ACK_TYPE, 0 }; handledMessages = _messages; @@ -57,6 +58,10 @@ void RouletteHandler::handleMessage(Net::MessageIn &msg) processRouletteItemAck(msg); break; + case SMSG_ROULETTE_GENERATE_ACK_TYPE: + processRouletteGenerateAckType(msg); + break; + default: break; } @@ -84,4 +89,16 @@ void RouletteHandler::processRouletteItemAck(Net::MessageIn &msg) msg.readInt16("item id"); } +void RouletteHandler::processRouletteGenerateAckType(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readUInt8("result"); + msg.readInt16("step"); + msg.readInt16("idx"); + msg.readInt16("item id"); + msg.readInt32("remain gold"); + msg.readInt32("remain silver"); + msg.readInt32("remain bronze"); +} + } // namespace EAthena |