aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/SkillHandler.cpp
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-08-05 19:40:30 -0500
committerSubv <s.v.h21@hotmail.com>2012-08-05 19:40:30 -0500
commit19289644430636940a876369c14dd938d7343fef (patch)
treed0904f411f9c539ef7f55282c9e3de7b3abc9b37 /src/server/game/Handlers/SkillHandler.cpp
parent5b7b6e121cb3d1b6ee6ba19409b709fd73e0d80a (diff)
Core/Items: Implemented SOCKET_COLOR_COGWHEEL.
Codestyle/Misc: Renamed recv_data to recvData
Diffstat (limited to 'src/server/game/Handlers/SkillHandler.cpp')
-rwxr-xr-xsrc/server/game/Handlers/SkillHandler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/game/Handlers/SkillHandler.cpp b/src/server/game/Handlers/SkillHandler.cpp
index cec5ea2bbda..bb5942adbbe 100755
--- a/src/server/game/Handlers/SkillHandler.cpp
+++ b/src/server/game/Handlers/SkillHandler.cpp
@@ -26,10 +26,10 @@
#include "ObjectAccessor.h"
#include "UpdateMask.h"
-void WorldSession::HandleLearnTalentOpcode(WorldPacket & recv_data)
+void WorldSession::HandleLearnTalentOpcode(WorldPacket & recvData)
{
uint32 talentId, requestedRank;
- recv_data >> talentId >> requestedRank;
+ recvData >> talentId >> requestedRank;
if (_player->LearnTalent(talentId, requestedRank))
_player->SendTalentsInfoData(false);
@@ -74,11 +74,11 @@ void WorldSession::HandleLearnPreviewTalents(WorldPacket& recvPacket)
_player->SendTalentsInfoData(false);
}
-void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket & recv_data)
+void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket & recvData)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "MSG_TALENT_WIPE_CONFIRM");
uint64 guid;
- recv_data >> guid;
+ recvData >> guid;
Creature* unit = GetPlayer()->GetNPCIfCanInteractWith(guid, UNIT_NPC_FLAG_TRAINER);
if (!unit)
@@ -104,9 +104,9 @@ void WorldSession::HandleTalentWipeConfirmOpcode(WorldPacket & recv_data)
unit->CastSpell(_player, 14867, true); //spell: "Untalent Visual Effect"
}
-void WorldSession::HandleUnlearnSkillOpcode(WorldPacket& recv_data)
+void WorldSession::HandleUnlearnSkillOpcode(WorldPacket& recvData)
{
uint32 skillId;
- recv_data >> skillId;
+ recvData >> skillId;
GetPlayer()->SetSkill(skillId, 0, 0, 0);
}