From 1dac28ccb05b93c79dd083d8528b94ff69fe66f9 Mon Sep 17 00:00:00 2001 From: NotKappa Date: Fri, 10 Feb 2023 20:43:25 +0300 Subject: [PATCH] Rename fields to represent their names --- Packets/NosSmooth.Packets/Client/Mates/PtctlPacket.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Packets/NosSmooth.Packets/Client/Mates/PtctlPacket.cs b/Packets/NosSmooth.Packets/Client/Mates/PtctlPacket.cs index 7bac0c0..1e2b903 100644 --- a/Packets/NosSmooth.Packets/Client/Mates/PtctlPacket.cs +++ b/Packets/NosSmooth.Packets/Client/Mates/PtctlPacket.cs @@ -14,8 +14,8 @@ namespace NosSmooth.Packets.Client.Mates; /// The current map id. /// The count of controls in array. /// The array containing the mates to move and positions to move them to. -/// Seems to always be euqal to first EntityId in Controls. -/// Seems to always be 9. +/// Seems to always be euqal to first EntityId in Controls. +/// The movement speed. [PacketHeader("ptctl", PacketSource.Server)] [GenerateSerializer(true)] public record PtctlPacket @@ -27,7 +27,7 @@ public record PtctlPacket [PacketContextList(2, "ControlsCount", ListSeparator = ' ', InnerSeparator = ' ')] IReadOnlyList Controls, [PacketIndex(3)] - long Unknown, + long EntityId, [PacketIndex(4)] - short Unknown1 + short Speed ) : IPacket; \ No newline at end of file -- 2.49.0