summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 500ece81e..94d974be5 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -70,6 +70,7 @@ PlayerHandler::PlayerHandler() :
SMSG_PLAYER_FAME_TAEKWON,
SMSG_PLAYER_READ_BOOK,
SMSG_PLAYER_EQUIP_TICK_ACK,
+ SMSG_AUTOSHADOW_SPELL_LIST,
0
};
handledMessages = _messages;
@@ -181,6 +182,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processPlayerEquipTickAck(msg);
break;
+ case SMSG_AUTOSHADOW_SPELL_LIST:
+ processPlayerAutoShadowSpellList(msg);
+ break;
+
default:
break;
}
@@ -597,4 +602,12 @@ void PlayerHandler::processPlayerEquipTickAck(Net::MessageIn &msg)
msg.readInt32("flag");
}
+void PlayerHandler::processPlayerAutoShadowSpellList(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ const int count = (msg.readInt16("len") - 8) / 2;
+ for (int f = 0; f < count; f ++)
+ msg.readInt16("skill id");
+}
+
} // namespace EAthena