~ruther/NosSmooth

ref: 493935a2f77a55defb0c4416a92a57acdfd97842 NosSmooth/Core/NosSmooth.Game/Data/Mates/Partner.cs -rw-r--r-- 887 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
//  Partner.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.Game.Data.Info;
using NosSmooth.Game.Data.Items;
using NosSmooth.Game.Data.Stats;
using NosSmooth.Packets.Enums;

namespace NosSmooth.Game.Data.Mates;

public record Partner
(
    long MateId,
    long NpcVNum,
    long TransportId,
    Level Level,
    short Loyalty,
    MateAttackStats Attack,
    MateArmorStats Armor,
    PartnerEquipment Equipment,
    Element Element,
    Resistance Resistance,
    Health Hp,
    Health Mp,
    string Name,
    int? MorphVNum,
    bool IsSummonable,
    PartnerSp? Sp
) : Mate
(
    MateId,
    NpcVNum,
    TransportId,
    Level,
    Loyalty,
    Attack,
    Armor,
    Element,
    Resistance,
    Hp,
    Mp,
    Name,
    IsSummonable
);
Do not follow this link