//
// 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.Packets.Attributes;
namespace NosSmooth.Packets.Packets.Server.Entities;
/// <summary>
/// Sub packet of <see cref="InPacket"/> present if the in packet
/// is for a player. Contains information about the player's
/// weapon.
/// /// </summary>
/// <param name="HatVNum">The VNum of the hat.</param>
/// <param name="ArmorVNum">The VNum of the armor.</param>
/// <param name="MainWeaponVNum">The VNum of the main weapon.</param>
/// <param name="SecondaryWeaponVNum">The VNum of the secondary weapon.</param>
/// <param name="MaskVNum">The VNum of the mask.</param>
/// <param name="Fairy">Unknown TODO.</param>
/// <param name="CostumeSuitVNum">The VNum of the costume suit.</param>
/// <param name="CostumeHatVNum">The VNum of the costume hat.</param>
/// <param name="WeaponSkin">The skin of the weapon.</param>
/// <param name="WingSkin">The skin of the wings.</param>
[GenerateSerializer]
public record InEquipmentSubPacket
(
[PacketIndex(0)]
long HatVNum,
[PacketIndex(1)]
long ArmorVNum,
[PacketIndex(2)]
long MainWeaponVNum,
[PacketIndex(3)]
long SecondaryWeaponVNum,
[PacketIndex(4)]
long MaskVNum,
[PacketIndex(5)]
long Fairy,
[PacketIndex(6)]
long CostumeSuitVNum,
[PacketIndex(7)]
long CostumeHatVNum,
[PacketIndex(8)]
short WeaponSkin,
[PacketIndex(9)]
short WingSkin
) : IPacket;