~ruther/NosSmooth

ref: cc1c2439854f6bc008f2d22968f40dfd8be8a7b1 NosSmooth/Packets/NosSmooth.Packets/Server/Character/AscrPacket.cs -rw-r--r-- 1.4 KiB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//  AscrPacket.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.Enums.Packets;
using NosSmooth.PacketSerializer.Abstractions.Attributes;

namespace NosSmooth.Packets.Server.Character;

/// <summary>
/// Character statistics (kills, deaths) packet.
/// </summary>
/// <param name="CurrentKill">The current kill count.</param>
/// <param name="CurrentDie">The current die count.</param>
/// <param name="CurrentTc">The current tc count.</param>
/// <param name="ArenaKill">The current arena kill count.</param>
/// <param name="ArenaDie">The current arena die count.</param>
/// <param name="ArenaTc">The current arena tc count.</param>
/// <param name="KillGroup">Unknown TODO.</param>
/// <param name="DieGroup">Unknown TODO.</param>
/// <param name="Type">The type of the ascr packet.</param>
[PacketHeader("ascr", PacketSource.Server)]
[GenerateSerializer(true)]
public record AscrPacket
(
    [PacketIndex(0)]
    int CurrentKill,
    [PacketIndex(1)]
    int CurrentDie,
    [PacketIndex(2)]
    int CurrentTc,
    [PacketIndex(3)]
    int ArenaKill,
    [PacketIndex(4)]
    int ArenaDie,
    [PacketIndex(5)]
    int ArenaTc,
    [PacketIndex(6)]
    int KillGroup,
    [PacketIndex(7)]
    int DieGroup,
    [PacketIndex(8)]
    AscrPacketType Type
) : IPacket;
Do not follow this link