diff options
Diffstat (limited to 'src/net/eathena/roulettehandler.cpp')
-rw-r--r-- | src/net/eathena/roulettehandler.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/roulettehandler.cpp b/src/net/eathena/roulettehandler.cpp index 5ba9c7997..09cc67db2 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, + SMSG_ROULETTE_OPEN_ACK, 0 }; handledMessages = _messages; @@ -61,6 +62,10 @@ void RouletteHandler::handleMessage(Net::MessageIn &msg) processRouletteGenerateAckType(msg); break; + case SMSG_ROULETTE_OPEN_ACK: + processRouletteOpenAck(msg); + break; + default: break; } @@ -100,4 +105,17 @@ void RouletteHandler::processRouletteGenerateAckType(Net::MessageIn &msg) msg.readInt32("remain bronze"); } +void RouletteHandler::processRouletteOpenAck(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readUInt8("result"); + msg.readInt32("serial"); + msg.readUInt8("step"); + msg.readUInt8("idx"); + msg.readInt16("additional item id"); + msg.readInt32("gold point"); + msg.readInt32("silver point"); + msg.readInt32("bronze point"); +} + } // namespace EAthena |