mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
Core/Packets: updated structures of SMSG_PARTY_INVITE, SMSG_PARTY_MEMBER_FULL_STATE and SMSG_MIRROR_IMAGE_COMPONENTED_DATA
This commit is contained in:
@@ -60,13 +60,14 @@ void WorldPackets::Party::PartyInviteClient::Read()
|
||||
|
||||
WorldPacket const* WorldPackets::Party::PartyInvite::Write()
|
||||
{
|
||||
_worldPacket.WriteBit(CanAccept);
|
||||
_worldPacket.WriteBit(MightCRZYou);
|
||||
_worldPacket.WriteBit(IsXRealm);
|
||||
_worldPacket.WriteBit(MustBeBNetFriend);
|
||||
_worldPacket.WriteBit(AllowMultipleRoles);
|
||||
_worldPacket.WriteBit(QuestSessionActive);
|
||||
_worldPacket.WriteBits(InviterName.length(), 6);
|
||||
_worldPacket << Bits<1>(CanAccept);
|
||||
_worldPacket << Bits<1>(MightCRZYou);
|
||||
_worldPacket << Bits<1>(IsXRealm);
|
||||
_worldPacket << Bits<1>(MustBeBNetFriend);
|
||||
_worldPacket << Bits<1>(AllowMultipleRoles);
|
||||
_worldPacket << Bits<1>(QuestSessionActive);
|
||||
_worldPacket << BitsSize<6>(InviterName);
|
||||
_worldPacket << Bits<1>(Unused440);
|
||||
|
||||
_worldPacket << InviterRealm;
|
||||
_worldPacket << InviterGUID;
|
||||
@@ -229,8 +230,6 @@ ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Party::PartyMemberStats c
|
||||
data.WriteBit(memberStats.PetStats.has_value());
|
||||
data.FlushBits();
|
||||
|
||||
data << memberStats.DungeonScore;
|
||||
|
||||
if (memberStats.PetStats.has_value())
|
||||
data << *memberStats.PetStats;
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ namespace WorldPackets
|
||||
bool MustBeBNetFriend = false;
|
||||
bool AllowMultipleRoles = false;
|
||||
bool QuestSessionActive = false;
|
||||
bool Unused440 = false;
|
||||
uint16 Unk1 = 0;
|
||||
|
||||
bool CanAccept = false;
|
||||
@@ -212,8 +213,6 @@ namespace WorldPackets
|
||||
int8 PartyType[2] = { };
|
||||
|
||||
CTROptions ChromieTime;
|
||||
|
||||
MythicPlus::DungeonScoreSummary DungeonScore;
|
||||
};
|
||||
|
||||
class PartyMemberFullState final : public ServerPacket
|
||||
|
||||
@@ -890,7 +890,6 @@ WorldPacket const* MirrorImageComponentedData::Write()
|
||||
{
|
||||
_worldPacket << UnitGUID;
|
||||
_worldPacket << int32(DisplayID);
|
||||
_worldPacket << int32(SpellVisualKitID);
|
||||
_worldPacket << uint8(RaceID);
|
||||
_worldPacket << uint8(Gender);
|
||||
_worldPacket << uint8(ClassID);
|
||||
|
||||
@@ -878,7 +878,6 @@ namespace WorldPackets
|
||||
|
||||
ObjectGuid UnitGUID;
|
||||
int32 DisplayID = 0;
|
||||
int32 SpellVisualKitID = 0;
|
||||
uint8 RaceID = 0;
|
||||
uint8 Gender = 0;
|
||||
uint8 ClassID = 0;
|
||||
|
||||
Reference in New Issue
Block a user