From 205a84f9342c1fc65308ebe865e09b1bf56932ed Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 1 Jan 2023 14:31:14 +0100 Subject: [PATCH] fix(packets): add header for st sub packet --- Packets/NosSmooth.Packets/NosSmooth.Packets.csproj | 6 +++--- Packets/NosSmooth.Packets/Server/Entities/StSubPacket.cs | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj b/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj index da3b068..add2f17 100644 --- a/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj +++ b/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj @@ -7,11 +7,11 @@ Contains default NosTale packets. https://github.com/Rutherther/NosSmooth/ MIT - 2.3.2 + 2.3.3 net7.0;netstandard2.1 Update packets to 2023 versions - 2.3.2 - 2.3.2 + 2.3.3 + 2.3.3 diff --git a/Packets/NosSmooth.Packets/Server/Entities/StSubPacket.cs b/Packets/NosSmooth.Packets/Server/Entities/StSubPacket.cs index 922568b..0977a89 100644 --- a/Packets/NosSmooth.Packets/Server/Entities/StSubPacket.cs +++ b/Packets/NosSmooth.Packets/Server/Entities/StSubPacket.cs @@ -13,6 +13,8 @@ namespace NosSmooth.Packets.Server.Entities; /// /// The buff card id. /// The buff level. +[PacketHeader(null, PacketSource.Server)] +[GenerateSerializer(true)] public record StSubPacket ( [PacketIndex(0)] -- 2.48.1