~ruther/NosSmooth

ref: 493935a2f77a55defb0c4416a92a57acdfd97842 NosSmooth/Core/NosSmooth.Game/Data/Social/Family.cs -rw-r--r-- 703 bytes
493935a2 — František Boháček fix(packets): correctly deserialize list with nullable elements inline 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
//
//  Family.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.

namespace NosSmooth.Game.Data.Social;

/// <summary>
/// Represents nostale family entity.
/// </summary>
/// <param name="Id">The id of the family.</param>
/// <param name="Title">The family's title.</param>
/// <param name="Name">The name of the family.</param>
/// <param name="Level">The level of the entity.</param>
/// <param name="Icons">What icons the family has activated.</param>
public record Family
(
    string? Id,
    short? Title,
    string? Name,
    byte? Level,
    IReadOnlyList<bool>? Icons
);
Do not follow this link