summaryrefslogtreecommitdiff
path: root/src/net/eathena/roulettehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 21:45:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 21:45:38 +0300
commitad6e16920c66c3b10c60e000a0ebc20da570bd94 (patch)
tree7be6f4002ab8b2e51fadd72be82436f702d73bfc /src/net/eathena/roulettehandler.cpp
parentc16820057eb9d381eb222512bb931da12e898a1f (diff)
downloadplus-ad6e16920c66c3b10c60e000a0ebc20da570bd94.tar.gz
plus-ad6e16920c66c3b10c60e000a0ebc20da570bd94.tar.bz2
plus-ad6e16920c66c3b10c60e000a0ebc20da570bd94.tar.xz
plus-ad6e16920c66c3b10c60e000a0ebc20da570bd94.zip
eathena: add partial support for packet SMSG_ROULETTE_RECV_ITEM_ACK 0x0a22.
Diffstat (limited to 'src/net/eathena/roulettehandler.cpp')
-rw-r--r--src/net/eathena/roulettehandler.cpp12
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