Some misc fixes. Thanks Pandaros.
This commit is contained in:
@@ -4136,7 +4136,7 @@ namespace Game.Entities
|
||||
|
||||
do
|
||||
{
|
||||
ulong mailId = resultItems.Read<ulong>(44);
|
||||
ulong mailId = resultItems.Read<ulong>(52);
|
||||
Item mailItem = _LoadMailedItem(playerGuid, null, mailId, null, resultItems.GetFields(), additionalData.LookupByKey(resultItems.Read<ulong>(0)));
|
||||
if (mailItem != null)
|
||||
itemsByMail.Add(mailId, mailItem);
|
||||
|
||||
@@ -262,7 +262,7 @@ namespace Game
|
||||
}
|
||||
|
||||
if (log && sendMail.Info.SendMoney > 0)
|
||||
Log.outCommand(GetAccountId(), "GM {GetPlayerName()} ({_player.GetGUID()}) (Account: {GetAccountId()}) mail money: {mailInfo.SendMoney} to: {mailInfo.Target} ({receiverGuid}) (Account: {receiverAccountId})");
|
||||
Log.outCommand(GetAccountId(), $"GM {GetPlayerName()} ({_player.GetGUID()}) (Account: {GetAccountId()}) mail money: {sendMail.Info.SendMoney} to: {sendMail.Info.Target} ({receiverGuid}) (Account: {receiverAccountId})");
|
||||
}
|
||||
|
||||
// If theres is an item, there is a one hour delivery delay if sent to another account's character.
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace Game.Networking.Packets
|
||||
public override void Read()
|
||||
{
|
||||
Mailbox = _worldPacket.ReadPackedGuid();
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
}
|
||||
|
||||
public ObjectGuid Mailbox;
|
||||
@@ -137,7 +137,7 @@ namespace Game.Networking.Packets
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
SenderGUID = _worldPacket.ReadPackedGuid();
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@ namespace Game.Networking.Packets
|
||||
public override void Read()
|
||||
{
|
||||
Mailbox = _worldPacket.ReadPackedGuid();
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
}
|
||||
|
||||
public ObjectGuid Mailbox;
|
||||
@@ -165,7 +165,7 @@ namespace Game.Networking.Packets
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
DeleteReason = _worldPacket.ReadInt32();
|
||||
}
|
||||
|
||||
@@ -180,8 +180,8 @@ namespace Game.Networking.Packets
|
||||
public override void Read()
|
||||
{
|
||||
Mailbox = _worldPacket.ReadPackedGuid();
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
AttachID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
AttachID = _worldPacket.ReadUInt64();
|
||||
}
|
||||
|
||||
public ObjectGuid Mailbox;
|
||||
@@ -196,7 +196,7 @@ namespace Game.Networking.Packets
|
||||
public override void Read()
|
||||
{
|
||||
Mailbox = _worldPacket.ReadPackedGuid();
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
Money = _worldPacket.ReadUInt64();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user