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 bb04d697fd77175385fae00188b99300d267d808..eb90c48138bd9dbb201ad7d3f58e0e44e5bb8be3 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; }