~ruther/NosSmooth

ref: 5abe3757cbd054205a4147029844ded6e4ef60d3 NosSmooth/Packets/NosSmooth.Packets/Server/Character/FamilySubPacket.cs -rw-r--r-- 718 bytes
5abe3757 — Rutherther fix(game): parse null inv sub packets correctly 2 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.PacketSerializer.Abstractions.Attributes;

namespace NosSmooth.Packets.Server.Character;

/// <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