[12718m] Updated structure SMSG_SET_PROFICIENCY and opcodes, Thanks ProjectSkyfire

This commit is contained in:
Vincent-Michael 2020-02-18 21:23:47 +00:00 committed by Antz
parent f2ab34d864
commit f34bd31e4b
No known key found for this signature in database
GPG key ID: 0DF907270598C85F
2 changed files with 4 additions and 4 deletions

View file

@ -19958,8 +19958,8 @@ template float Player::ApplySpellMod<float>(uint32 spellId, SpellModOp op, float
// send Proficiency // send Proficiency
void Player::SendProficiency(ItemClass itemClass, uint32 itemSubclassMask) void Player::SendProficiency(ItemClass itemClass, uint32 itemSubclassMask)
{ {
WorldPacket data(SMSG_SET_PROFICIENCY, 1 + 4); WorldPacket data(SMSG_SET_PROFICIENCY, 4 + 1);
data << uint8(itemClass) << uint32(itemSubclassMask); data << uint32(itemSubclassMask) << uint8(itemClass) ;
GetSession()->SendPacket(&data); GetSession()->SendPacket(&data);
} }

View file

@ -285,7 +285,7 @@ enum Opcodes
MSG_MOVE_TOGGLE_COLLISION_CHEAT = 0x10DA, MSG_MOVE_TOGGLE_COLLISION_CHEAT = 0x10DA,
CMSG_MOVE_SET_FACING = 0x7914, // 4.3.4 15595 CMSG_MOVE_SET_FACING = 0x7914, // 4.3.4 15595
CMSG_MOVE_SET_PITCH = 0x7312, // 4.3.4 15595 CMSG_MOVE_SET_PITCH = 0x7312, // 4.3.4 15595
MSG_MOVE_WORLDPORT_ACK = 0x2411, // 4.3.4 15595 MSG_MOVE_WORLDPORT_ACK = 0x00e0, // 5.4.1 17538
SMSG_MONSTER_MOVE = 0x6E17, // 4.3.4 15595 SMSG_MONSTER_MOVE = 0x6E17, // 4.3.4 15595
SMSG_MOVE_WATER_WALK = 0x75B1, // 4.3.4 15595 SMSG_MOVE_WATER_WALK = 0x75B1, // 4.3.4 15595
SMSG_MOVE_LAND_WALK = 0x34B7, // 4.3.4 15595 SMSG_MOVE_LAND_WALK = 0x34B7, // 4.3.4 15595
@ -349,7 +349,7 @@ enum Opcodes
CMSG_IGNORE_TRADE = 0x7112, // 4.3.4 15595 CMSG_IGNORE_TRADE = 0x7112, // 4.3.4 15595
CMSG_ACCEPT_TRADE = 0x7110, // 4.3.4 15595 CMSG_ACCEPT_TRADE = 0x7110, // 4.3.4 15595
CMSG_UNACCEPT_TRADE = 0x391A, // 4.3.4 15595 CMSG_UNACCEPT_TRADE = 0x391A, // 4.3.4 15595
CMSG_CANCEL_TRADE = 0x731E, // 4.3.4 15595 CMSG_CANCEL_TRADE = 0x12CC, // 5.4.1 17538
CMSG_SET_TRADE_ITEM = 0x7B0C, // 4.3.4 15595 CMSG_SET_TRADE_ITEM = 0x7B0C, // 4.3.4 15595
CMSG_CLEAR_TRADE_ITEM = 0x7018, // 4.3.4 15595 CMSG_CLEAR_TRADE_ITEM = 0x7018, // 4.3.4 15595
CMSG_SET_TRADE_GOLD = 0x3008, // 4.3.4 15595 CMSG_SET_TRADE_GOLD = 0x3008, // 4.3.4 15595