//
// VbPacket.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.Buffs;
///
/// A static buff effect.
///
/// The buff card id.
/// Whether the buff is active.
/// The duration of the buff.
[PacketHeader("vb", PacketSource.Server)]
[GenerateSerializer(true)]
public record VbPacket
(
[PacketIndex(0)]
short CardId,
[PacketIndex(1)]
bool IsActive,
[PacketIndex(2)]
int? Time
) : IPacket;