//
//  EffectsSubPacket.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.Entities;
/// 
/// A sub packet for  representing buff card id and level.
/// 
/// The buff card id.
/// The buff level.
[PacketHeader(null, PacketSource.Server)]
[GenerateSerializer(true)]
public record EffectsSubPacket
(
    [PacketIndex(0)]
    short CardId,
    [PacketIndex(1, IsOptional = true)]
    short? Level
) : IPacket;