summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index b7ea9024d..0257c7a11 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -119,6 +119,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_BEING_ATTRS,
SMSG_MONSTER_INFO,
SMSG_CLASS_CHANGE,
+ CMSG_SPIRIT_BALLS,
0
};
handledMessages = _messages;
@@ -323,6 +324,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processClassChange(msg);
break;
+ case CMSG_SPIRIT_BALLS:
+ processSpiritBalls(msg);
+ break;
+
default:
break;
}
@@ -1665,4 +1670,12 @@ void BeingHandler::processClassChange(Net::MessageIn &msg)
msg.readInt32("class");
}
+void BeingHandler::processSpiritBalls(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt32("being id");
+ msg.readInt16("spirits amount");
+}
+
} // namespace EAthena