Core/PacketIO: Named a bunch of unknown/unused fields

Port From (https://github.com/TrinityCore/TrinityCore/commit/806611075659ddde60f3003763e442a46d70f993)
This commit is contained in:
Hondacrx
2024-11-17 13:07:52 -05:00
parent ba80dede79
commit 447c222665
41 changed files with 525 additions and 516 deletions
@@ -724,6 +724,13 @@ namespace Game.Networking.Packets
//Structs
struct CalendarAddEventInviteInfo
{
public ObjectGuid Guid;
public byte Status;
public byte Moderator;
public ObjectGuid? BnetAccountID;
public ulong? RealmAddress;
public ulong? CommunityID;
public void Read(WorldPacket data)
{
Guid = data.ReadPackedGuid();
@@ -735,19 +742,12 @@ namespace Game.Networking.Packets
bool hasUnused801_3 = data.HasBit();
if (hasUnused801_1)
Unused801_1 = data.ReadPackedGuid();
BnetAccountID = data.ReadPackedGuid();
if (hasUnused801_2)
Unused801_2 = data.ReadUInt64();
RealmAddress = data.ReadUInt64();
if (hasUnused801_3)
Unused801_3 = data.ReadUInt64();
CommunityID = data.ReadUInt64();
}
public ObjectGuid Guid;
public byte Status;
public byte Moderator;
public ObjectGuid? Unused801_1;
public ulong? Unused801_2;
public ulong? Unused801_3;
}
class CalendarAddEventInfo