Core/PacketIO: Fixed structures of CMSG_PARTY_INVITE and SMSG_FEATURE_SYSTEM_STATUS

This commit is contained in:
Shauren
2023-09-09 16:27:43 +02:00
parent cfdb7e5015
commit edb103eadb
3 changed files with 3 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ void WorldPackets::Party::PartyInviteClient::Read()
{
bool hasPartyIndex = _worldPacket.ReadBit();
_worldPacket.ResetBitPos();
uint32 targetNameLen = _worldPacket.ReadBits(9);
uint32 targetRealmLen = _worldPacket.ReadBits(9);

View File

@@ -132,6 +132,7 @@ WorldPacket const* FeatureSystemStatus::Write()
_worldPacket.WriteBit(AddonsDisabled);
_worldPacket.WriteBit(Unused1000);
_worldPacket.WriteBit(ContentTrackingEnabled);
_worldPacket.WriteBit(IsSellAllJunkEnabled);
_worldPacket.FlushBits();

View File

@@ -159,6 +159,7 @@ namespace WorldPackets
bool AddonsDisabled = false;
bool Unused1000 = false;
bool ContentTrackingEnabled = false;
bool IsSellAllJunkEnabled = false;
SocialQueueConfig QuickJoinConfig;
SquelchInfo Squelch;