Core/PacketIO: Named a bunch of unknown/unused fields
Port From (https://github.com/TrinityCore/TrinityCore/commit/806611075659ddde60f3003763e442a46d70f993)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user