Core/PacketIO: Updated values of all known server opcodes

This commit is contained in:
Shauren
2015-03-27 22:21:24 +01:00
parent b05d74ba46
commit 8cfb542ee4
60 changed files with 1128 additions and 1431 deletions

View File

@@ -4247,7 +4247,7 @@ void Spell::SendChannelUpdate(uint32 time)
m_caster->SetUInt32Value(UNIT_CHANNEL_SPELL, 0);
}
WorldPacket data(SMSG_CHANNEL_UPDATE, 8+4);
WorldPacket data(SMSG_SPELL_CHANNEL_UPDATE, 8 + 4);
data << m_caster->GetPackGUID();
data << uint32(time);
@@ -4261,7 +4261,7 @@ void Spell::SendChannelStart(uint32 duration)
if (m_UniqueTargetInfo.size() + m_UniqueGOTargetInfo.size() == 1) // this is for TARGET_SELECT_CATEGORY_NEARBY
channelTarget = !m_UniqueTargetInfo.empty() ? m_UniqueTargetInfo.front().targetGUID : m_UniqueGOTargetInfo.front().targetGUID;
WorldPacket data(SMSG_CHANNEL_START, (8+4+4));
WorldPacket data(SMSG_SPELL_CHANNEL_START, (8 + 4 + 4));
data << m_caster->GetPackGUID();
data << uint32(m_spellInfo->Id);
data << uint32(duration);