//
// 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;
///
/// Character statistics (kills, deaths) packet.
///
/// The current kill count.
/// The current die count.
/// The current tc count.
/// The current arena kill count.
/// The current arena die count.
/// The current arena tc count.
/// Unknown TODO.
/// Unknown TODO.
/// The type of the ascr packet.
[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;