From 157f24c15636aeed234ef5460128e7925588dfed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sun, 26 Dec 2021 22:58:38 +0100 Subject: [PATCH] chore: update packet responder Respond method parameter name --- Core/NosSmooth.Core/Packets/IPacketResponder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/NosSmooth.Core/Packets/IPacketResponder.cs b/Core/NosSmooth.Core/Packets/IPacketResponder.cs index bb04d69..eb90c48 100644 --- a/Core/NosSmooth.Core/Packets/IPacketResponder.cs +++ b/Core/NosSmooth.Core/Packets/IPacketResponder.cs @@ -29,10 +29,10 @@ public interface IPacketResponder : IPacketResponder /// /// Respond to the given packet. /// - /// The packet to respond to. + /// The packet to respond to. /// The cancellation token for cancelling the operation. /// A result that may or may not have succeeded. - public Task Respond(PacketEventArgs packet, CancellationToken ct = default); + public Task Respond(PacketEventArgs packetArgs, CancellationToken ct = default); } /// @@ -43,10 +43,10 @@ public interface IEveryPacketResponder : IPacketResponder /// /// Respond to the given packet. /// - /// The packet to respond to. + /// The packet to respond to. /// The cancellation token for cancelling the operation. /// The type of the packet. /// A result that may or may not have succeeded. - public Task Respond(PacketEventArgs packet, CancellationToken ct = default) + public Task Respond(PacketEventArgs packetArgs, CancellationToken ct = default) where TPacket : IPacket; } -- 2.48.1