Core/PacketIO: Updated to 11.0.0

Port From (https://github.com/TrinityCore/TrinityCore/commit/e59eef5432c7b70679d33f4911c88d0f7d75fd39)
This commit is contained in:
Hondacrx
2024-09-02 18:44:55 -04:00
parent bd0d40fa13
commit f38ad4607e
74 changed files with 4980 additions and 3595 deletions
@@ -183,9 +183,14 @@ namespace Game.Networking.Packets
public class AcceptGuildInvite : ClientPacket
{
public ObjectGuid GuildGuid;
public AcceptGuildInvite(WorldPacket packet) : base(packet) { }
public override void Read() { }
public override void Read()
{
GuildGuid = _worldPacket.ReadPackedGuid();
}
}
public class GuildDeclineInvitation : ClientPacket
@@ -297,7 +302,6 @@ namespace Game.Networking.Packets
_worldPacket.WriteBits(Name.GetByteCount(), 6);
_worldPacket.WriteBit(LoggedOn);
_worldPacket.WriteBit(Mobile);
_worldPacket.WriteString(Name);
}
@@ -305,7 +309,6 @@ namespace Game.Networking.Packets
public ObjectGuid Guid;
public uint VirtualRealmAddress;
public string Name;
public bool Mobile;
public bool LoggedOn;
}