From 8f8a9d2f1791754a1376ba9c7f010ee47d091598 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Sep 2014 23:47:18 +0300 Subject: Move processBeingSpawn from ea namespace into tmwa. --- src/net/tmwa/beinghandler.cpp | 13 +++++++++++++ src/net/tmwa/beinghandler.h | 2 ++ 2 files changed, 15 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index eb889146d..1d1c5ef11 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -975,4 +975,17 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg) BLOCK_END("BeingHandler::processBeingVisibleOrMove") } +void BeingHandler::processBeingSpawn(Net::MessageIn &msg) +{ + BLOCK_START("BeingHandler::processBeingSpawn") + // skipping this packet + mSpawnId = msg.readInt32("being id"); + msg.readInt16("speed"); + msg.readInt16("opt1"); + msg.readInt16("opt2"); + msg.readInt16("option"); + msg.readInt16("disguise"); + BLOCK_END("BeingHandler::processBeingSpawn") +} + } // namespace TmwAthena diff --git a/src/net/tmwa/beinghandler.h b/src/net/tmwa/beinghandler.h index ae5513af0..671f2cf60 100644 --- a/src/net/tmwa/beinghandler.h +++ b/src/net/tmwa/beinghandler.h @@ -53,6 +53,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler void processPlayerMoveUpdate(Net::MessageIn &msg) const; static void processBeingMove3(Net::MessageIn &msg); + + void processBeingSpawn(Net::MessageIn &msg); }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2