~ruther/NosSmooth

ref: 724d1217fea08f488dc250bc4c1931e9f453fd2f NosSmooth/Core/NosSmooth.Packets/Packets/Server/Players/FamilySubPacket.cs -rw-r--r-- 702 bytes
724d1217 — František Boháček fix: make family id nullable in family 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
//
//  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>
[GenerateSerializer(true)]
[PacketHeader(null, PacketSource.Server)]
public record FamilySubPacket
(
    [PacketIndex(0, AfterSeparator = '.')]
    string? FamilyId,
    [PacketIndex(1, IsOptional = true)]
    short? Title
) : IPacket;
Do not follow this link