//
//  SkiSubPacket.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.Skills;
/// 
/// Sub packet for  containing information about a skill.
/// 
/// The vnum of the skill.
/// The rank of the skill.
[PacketHeader(null, PacketSource.Server)]
[GenerateSerializer(true)]
public record SkiSubPacket
(
    [PacketIndex(0)]
    int SkillVNum,
    [PacketIndex(1, IsOptional = true)]
    byte? Rank
) : IPacket;