Core: Updated to 10.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/4bec7233badf9d3ab71dbdde8b24f66f7c4eedfb)
This commit is contained in:
@@ -328,7 +328,7 @@ namespace Game.Networking.Packets
|
||||
{
|
||||
public void Read(WorldPacket data)
|
||||
{
|
||||
MailID = data.ReadInt32();
|
||||
MailID = data.ReadUInt64();
|
||||
uint bodyLength = data.ReadBits<uint>(13);
|
||||
uint subjectLength = data.ReadBits<uint>(9);
|
||||
|
||||
@@ -336,7 +336,7 @@ namespace Game.Networking.Packets
|
||||
MailSubject = data.ReadString(subjectLength);
|
||||
}
|
||||
|
||||
public int MailID;
|
||||
public ulong MailID;
|
||||
public string MailSubject;
|
||||
public string MailBody;
|
||||
}
|
||||
@@ -479,7 +479,7 @@ namespace Game.Networking.Packets
|
||||
switch (ComplaintType)
|
||||
{
|
||||
case SupportSpamType.Mail:
|
||||
MailID = _worldPacket.ReadUInt32();
|
||||
MailID = _worldPacket.ReadUInt64();
|
||||
break;
|
||||
case SupportSpamType.Chat:
|
||||
Chat.Read(_worldPacket);
|
||||
@@ -492,14 +492,14 @@ namespace Game.Networking.Packets
|
||||
}
|
||||
|
||||
public SupportSpamType ComplaintType;
|
||||
ComplaintOffender Offender;
|
||||
uint MailID;
|
||||
ComplaintChat Chat;
|
||||
public ComplaintOffender Offender;
|
||||
public ulong MailID;
|
||||
public ComplaintChat Chat;
|
||||
|
||||
ulong EventGuid;
|
||||
ulong InviteGuid;
|
||||
public ulong EventGuid;
|
||||
public ulong InviteGuid;
|
||||
|
||||
struct ComplaintOffender
|
||||
public struct ComplaintOffender
|
||||
{
|
||||
public void Read(WorldPacket data)
|
||||
{
|
||||
@@ -513,7 +513,7 @@ namespace Game.Networking.Packets
|
||||
public uint TimeSinceOffence;
|
||||
}
|
||||
|
||||
struct ComplaintChat
|
||||
public struct ComplaintChat
|
||||
{
|
||||
public void Read(WorldPacket data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user