// // IvnPacket.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.Inventory; using NosSmooth.PacketSerializer.Abstractions.Attributes; namespace NosSmooth.Packets.Server.Inventory; /// /// An update of inventory. /// For inventory initialization, /// . /// /// The bag that should be updated. /// The data to be updated. [PacketHeader("ivn", PacketSource.Server)] [GenerateSerializer(true)] public record IvnPacket ( [PacketIndex(0)] BagType Bag, [PacketIndex(1, InnerSeparator = '.')] InvSubPacket InvSubPacket ) : IPacket;