M Core/NosSmooth.Packets/Packets/Server/Entities/StPacket.cs => Core/NosSmooth.Packets/Packets/Server/Entities/StPacket.cs +2 -2
@@ 42,6 42,6 @@ public record StPacket
long Hp,
[PacketIndex(7)]
long Mp,
- [PacketListIndex(8, ListSeparator = ' ')]
- List<long> BuffVNums
+ [PacketListIndex(8, ListSeparator = ' ', IsOptional = true)]
+ List<long>? BuffVNums
) : IPacket;=
\ No newline at end of file
M Core/NosSmooth.Packets/Packets/Server/Groups/PinitPacket.cs => Core/NosSmooth.Packets/Packets/Server/Groups/PinitPacket.cs +2 -2
@@ 22,6 22,6 @@ namespace NosSmooth.Packets.Packets.Server.Groups;
public record PinitPacket
(
[PacketIndex(0)] int GroupSize,
- [PacketListIndex(1, ListSeparator = ' ', InnerSeparator = '|')]
- IReadOnlyList<PinitSubPacket> PinitSubPackets
+ [PacketListIndex(1, ListSeparator = ' ', InnerSeparator = '|', IsOptional = true)]
+ IReadOnlyList<PinitSubPacket>? PinitSubPackets
) : IPacket;=
\ No newline at end of file