Core/PacketIO: Fix packet structure for CMSG_READY_CHECK_RESPONSE and CMSG_PARTY_UNINVITE

This commit is contained in:
Shauren
2026-08-18 09:44:24 +02:00
parent df73a6836a
commit 5cc473d606
2 changed files with 3 additions and 2 deletions
@@ -89,6 +89,7 @@ ByteBuffer& operator<<(ByteBuffer& data, CharDisplayInfo const& displayInfo)
return data;
}
void PlayerModelDisplayInfo::Initialize(Player const* player)
{
GUID = player->GetGUID();
@@ -115,7 +115,7 @@ void PartyInviteResponse::Read()
void PartyUninvite::Read()
{
_worldPacket >> OptionalInit(PartyIndex);
_worldPacket >> SizedString::BitsSize<8>(Reason);
_worldPacket >> SizedString::BitsSize<9>(Reason);
_worldPacket >> TargetGUID;
if (PartyIndex)
@@ -409,8 +409,8 @@ WorldPacket const* ReadyCheckStarted::Write()
void ReadyCheckResponseClient::Read()
{
_worldPacket >> Bits<1>(IsReady);
_worldPacket >> OptionalInit(PartyIndex);
_worldPacket >> Bits<1>(IsReady);
if (PartyIndex)
_worldPacket >> *PartyIndex;
}