~ruther/NosSmooth

ref: af8198ee107afb62e22c88a5b4f53cee4c68701a NosSmooth/Core/NosSmooth.Packets/Packets/Server/Players/FamilySubPacket.cs -rw-r--r-- 786 bytes
af8198ee — František Boháček fix: remove InnerSeparator from in subpackets 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  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.Packets.Attributes;

namespace NosSmooth.Packets.Packets.Server.Players;

/// <summary>
/// Sub packet with family information.
/// </summary>
/// <param name="FamilyId">The id of the family.</param>
/// <param name="Title">The title of the family.</param>
/// <param name="FamilyName">The name of the family.</param>
[GenerateSerializer(true)]
[PacketHeader(null, PacketSource.Server)]
public record FamilySubPacket
(
    [PacketIndex(0, AfterSeparator = '.')]
    string FamilyId,
    [PacketIndex(1)]
    short Title,
    [PacketIndex(2)]
    string FamilyName
) : IPacket;
Do not follow this link