// // SkiPacket.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; /// /// Information about skills, sent when changing sp, map etc. /// /// The primary skill vnum. /// The secondary skill vnum. (may be same as primary in some cases, like for special cards). /// The rest of the skills. [PacketHeader("ski", PacketSource.Server)] [GenerateSerializer(true)] public record SkiPacket ( [PacketIndex(0)] long PrimarySkillVNum, [PacketIndex(1)] long SecondarySkillVNum, [PacketListIndex(2, InnerSeparator = '|', ListSeparator = ' ')] IReadOnlyList SkillSubPackets ) : IPacket;