Core/PacketIO: More structure updates (SMSG_DB_REPLY, CMSG_REQUEST_HOTFIX) and enabled opcodes with verified structures

This commit is contained in:
Shauren committed 2012-07-12 01:02:45 +02:00
1 parent adc22685f2
commit b0f6311fe9
6 files changed
+53 -36

No files matched your search

+1 -1
View File
@@ -14105,7 +14105,7 @@ void Unit::SetPower(Powers power, int32 val)
SetStatInt32Value(UNIT_FIELD_POWER1 + powerIndex, val);
WorldPacket data(SMSG_POWER_UPDATE);
WorldPacket data(SMSG_POWER_UPDATE, 8 + 4 + 1 + 4);
data.append(GetPackGUID());
data << uint32(1);//unk
data << uint8(powerIndex);