diff options
Diffstat (limited to 'src/net/eathena/roulettehandler.cpp')
-rw-r--r-- | src/net/eathena/roulettehandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/roulettehandler.cpp b/src/net/eathena/roulettehandler.cpp index 372e13f45..f8c330527 100644 --- a/src/net/eathena/roulettehandler.cpp +++ b/src/net/eathena/roulettehandler.cpp @@ -38,6 +38,7 @@ RouletteHandler::RouletteHandler() : static const uint16_t _messages[] = { SMSG_ROULETTE_INFO_ACK_TYPE, + SMSG_ROULETTE_RECV_ITEM_ACK, 0 }; handledMessages = _messages; @@ -52,6 +53,10 @@ void RouletteHandler::handleMessage(Net::MessageIn &msg) processRouletteInfoAckType(msg); break; + case SMSG_ROULETTE_RECV_ITEM_ACK: + processRouletteItemAck(msg); + break; + default: break; } @@ -72,4 +77,11 @@ void RouletteHandler::processRouletteInfoAckType(Net::MessageIn &msg) } } +void RouletteHandler::processRouletteItemAck(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readUInt8("result"); + msg.readInt16("item id"); +} + } // namespace EAthena |