// // FamilySubPacket.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.Character; /// /// Sub packet with family information. /// /// The id of the family. /// The title of the family. [GenerateSerializer(true)] [PacketHeader(null, PacketSource.Server)] public record FamilySubPacket ( [PacketIndex(0, AfterSeparator = '.')] string? FamilyId, [PacketIndex(1, IsOptional = true)] short? Title ) : IPacket;