// // InEquipmentSubPacket.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.PacketSerializer.Abstractions.Attributes; namespace NosSmooth.Packets.Server.Maps; /// /// Sub packet of present if the in packet /// is for a player. Contains information about the player's /// weapon. /// /// /// The VNum of the hat. /// The VNum of the armor. /// The VNum of the main weapon. /// The VNum of the secondary weapon. /// The VNum of the mask. /// The VNum of the fairy item. /// The VNum of the costume suit. /// The VNum of the costume hat. /// The skin of the weapon. /// The skin of the wings. [PacketHeader(null, PacketSource.Server)] [GenerateSerializer(true)] public record InEquipmentSubPacket ( [PacketIndex(0)] int? HatVNum, [PacketIndex(1)] int? ArmorVNum, [PacketIndex(2)] int? MainWeaponVNum, [PacketIndex(3)] int? SecondaryWeaponVNum, [PacketIndex(4)] int? MaskVNum, [PacketIndex(5)] int? FairyVNum, [PacketIndex(6)] int? CostumeSuitVNum, [PacketIndex(7)] int? CostumeHatVNum, [PacketIndex(8)] short? WeaponSkin, [PacketIndex(9)] short? WingSkin ) : IPacket;