mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-06 13:13:51 +00:00
debug: log CMSG_CAST_SPELL packet size to verify format
This commit is contained in:
parent
d68bb5a831
commit
71cf3ab737
1 changed files with 2 additions and 0 deletions
|
|
@ -323,6 +323,8 @@ void SpellHandler::castSpell(uint32_t spellId, uint64_t targetGuid) {
|
|||
auto packet = owner_.packetParsers_
|
||||
? owner_.packetParsers_->buildCastSpell(spellId, target, ++castCount_)
|
||||
: CastSpellPacket::build(spellId, target, ++castCount_);
|
||||
LOG_WARNING("CMSG_CAST_SPELL: spellId=", spellId, " target=0x", std::hex, target, std::dec,
|
||||
" castCount=", static_cast<int>(castCount_), " packetSize=", packet.getSize());
|
||||
owner_.socket->send(packet);
|
||||
LOG_INFO("Casting spell: ", spellId, " on 0x", std::hex, target, std::dec);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue