From 063ebd5232ea3af5494efae26a63818cf3adc264 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 31 Dec 2022 00:26:04 +0100 Subject: [PATCH] fix(packets): make correct fields in drop packet --- Packets/NosSmooth.Packets/Server/Maps/DropPacket.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Packets/NosSmooth.Packets/Server/Maps/DropPacket.cs b/Packets/NosSmooth.Packets/Server/Maps/DropPacket.cs index 9a144d9..2e1fd3b 100644 --- a/Packets/NosSmooth.Packets/Server/Maps/DropPacket.cs +++ b/Packets/NosSmooth.Packets/Server/Maps/DropPacket.cs @@ -17,8 +17,7 @@ namespace NosSmooth.Packets.Server.Maps; /// The map y. /// The amount of the items on the ground. /// Whether the item is a quest related item. -/// UNKNOWN. Seems to be always 0. -/// UNKNOWN. Seems to be always -1. +/// The id of the owner. (only the owner is able to pick up the item) [PacketHeader("drop", PacketSource.Server)] [GenerateSerializer(true)] public record DropPacket @@ -36,7 +35,5 @@ public record DropPacket [PacketIndex(5)] bool IsQuestRelated, [PacketIndex(6)] - byte Mode, - [PacketIndex(7)] - byte Parameter + long? OwnerId ) : IPacket; \ No newline at end of file -- 2.48.1