Core/PacketIO: Reenabled most opcodes for WorldSession::DosProtection::GetMaxPacketCounterAllowed

This commit is contained in:
Shauren
2015-01-10 20:57:53 +01:00
parent bd5c7cc637
commit ec5800c845
9 changed files with 185 additions and 169 deletions

View File

@@ -863,31 +863,3 @@ void WorldSession::HandlePetLearnTalent(WorldPacket& recvData)
_player->LearnPetTalent(guid, talentId, requestedRank);
_player->SendTalentsInfoData(true);*/
}
void WorldSession::HandleLearnPreviewTalentsPet(WorldPacket& recvData)
{
/* TODO: 6.x remove pet talents (add pet specializations)
TC_LOG_DEBUG("network", "CMSG_LEARN_PREVIEW_TALENTS_PET");
ObjectGuid guid;
recvData >> guid;
uint32 talentsCount;
recvData >> talentsCount;
uint32 talentId, talentRank;
// Client has max 19 talents, rounded up : 25
uint32 const MaxTalentsCount = 25;
for (uint32 i = 0; i < talentsCount && i < MaxTalentsCount; ++i)
{
recvData >> talentId >> talentRank;
_player->LearnPetTalent(guid, talentId, talentRank);
}
_player->SendTalentsInfoData(true);
recvData.rfinish();*/
}