mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/PacketIO: Update SMSG_MAIL_QUERY_NEXT_TIME_RESULT for 6.1.0
This commit is contained in:
@@ -240,8 +240,6 @@ WorldPackets::Mail::MailQueryNextTimeResult::MailNextTimeEntry::MailNextTimeEntr
|
||||
{
|
||||
case MAIL_NORMAL:
|
||||
SenderGuid = ObjectGuid::Create<HighGuid::Player>(mail->sender);
|
||||
SenderHint.NativeRealmAddress.Set(GetVirtualRealmAddress());
|
||||
SenderHint.VirtualRealmAddress.Set(GetVirtualRealmAddress());
|
||||
break;
|
||||
case MAIL_AUCTION:
|
||||
case MAIL_CREATURE:
|
||||
@@ -264,8 +262,6 @@ WorldPacket const* WorldPackets::Mail::MailQueryNextTimeResult::Write()
|
||||
for (auto const& entry : Next)
|
||||
{
|
||||
_worldPacket << entry.SenderGuid;
|
||||
_worldPacket << entry.SenderHint;
|
||||
|
||||
_worldPacket << float(entry.TimeLeft);
|
||||
_worldPacket << int32(entry.AltSenderID);
|
||||
_worldPacket << int8(entry.AltSenderType);
|
||||
|
||||
@@ -223,7 +223,6 @@ namespace WorldPackets
|
||||
MailNextTimeEntry(::Mail const* mail);
|
||||
|
||||
ObjectGuid SenderGuid;
|
||||
Query::PlayerGuidLookupHint SenderHint;
|
||||
float TimeLeft = 0.0f;
|
||||
int32 AltSenderID = 0;
|
||||
int8 AltSenderType = 0;
|
||||
|
||||
Reference in New Issue
Block a user