~ruther/NosSmooth

ref: cc1c2439854f6bc008f2d22968f40dfd8be8a7b1 NosSmooth/Packets/NosSmooth.Packets/Server/Character/FdPacket.cs -rw-r--r-- 899 bytes
cc1c2439 — František Boháček feat: add pet positions to walk command 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
//
//  FdPacket.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>
/// Reputation and dignity packet.
/// </summary>
/// <param name="Reputation">The character's reputation.</param>
/// <param name="ReputationIcon">The character's reputation icon.</param>
/// <param name="Dignity">The character's dignity.</param>
/// <param name="DignityIcon">The character's dignity icon.</param>
[PacketHeader("fd", PacketSource.Server)]
[GenerateSerializer(true)]
public record FdPacket
(
    [PacketIndex(0)]
    long Reputation,
    [PacketIndex(1)]
    short ReputationIcon,
    [PacketIndex(2)]
    int Dignity,
    [PacketIndex(3)]
    short DignityIcon
) : IPacket;
Do not follow this link