Core: Updated to 10.0.5

Port From (https://github.com/TrinityCore/TrinityCore/commit/4bec7233badf9d3ab71dbdde8b24f66f7c4eedfb)
This commit is contained in:
hondacrx
2023-01-30 10:07:42 -05:00
parent e982be523a
commit 08fcedaf21
25 changed files with 1684 additions and 1470 deletions
+10 -10
View File
@@ -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)
{