// // EqPacket.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.Packets.Enums; using NosSmooth.Packets.Enums.Players; using NosSmooth.Packets.Server.Maps; using NosSmooth.Packets.Server.Weapons; using NosSmooth.PacketSerializer.Abstractions.Attributes; namespace NosSmooth.Packets.Server.Entities; /// /// Player /// /// /// /// /// /// /// /// /// /// /// [PacketHeader("eq", PacketSource.Server)] [GenerateSerializer(true)] public record EqPacket ( [PacketIndex(0)] long CharacterId, [PacketIndex(1)] AuthorityType AuthorityType, [PacketIndex(2)] SexType Sex, [PacketIndex(3)] HairStyle HairStyle, [PacketIndex(4)] HairColor HairColor, [PacketIndex(5)] PlayerClass Class, [PacketIndex(6)] InEquipmentSubPacket EquipmentSubPacket, [PacketIndex(7)] UpgradeRareSubPacket? WeaponUpgradeRareSubPacket, [PacketIndex(8)] UpgradeRareSubPacket? ArmorUpgradeRareSubPacket, [PacketIndex(9)] byte Size ) : IPacket;