From 164d42bd72f79243e9213deca6a4fce4d044490e Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 13 Feb 2022 20:13:25 +0100 Subject: [PATCH] chore: update dependencies --- .../NosSmooth.LocalBinding.csproj | 2 +- .../Walk/Errors/WalkNotFinishedError.cs | 18 ---------- .../Walk/WalkUnfinishedReason.cs | 36 ------------------- .../NosSmooth.LocalClient.csproj | 8 +++-- .../ExternalBrowser/ExternalBrowser.csproj | 2 +- .../InterceptNameChanger.csproj | 2 +- .../LowLevel/SimpleChat/SimpleChat.csproj | 2 +- 7 files changed, 10 insertions(+), 60 deletions(-) delete mode 100644 src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs delete mode 100644 src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs diff --git a/src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj b/src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj index e9f722aaae139731ab705db020a3142b96ab4809..9baaceb95bf980e832d77f09ec9c8b477e419102 100644 --- a/src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj +++ b/src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs b/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs deleted file mode 100644 index 8e9da6686006436f107666c661e355ade3a00d5d..0000000000000000000000000000000000000000 --- a/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs +++ /dev/null @@ -1,18 +0,0 @@ -// -// WalkNotFinishedError.cs -// -// Copyright (c) František Boháček. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using Remora.Results; - -namespace NosSmooth.LocalClient.CommandHandlers.Walk.Errors; - -/// -/// Represents an error that can be returned from walk command handler. -/// -/// The x coordinate where the player is. (if known) -/// The y coordinate where the player is. (if known) -/// -public record WalkNotFinishedError(int? X, int? Y, WalkUnfinishedReason Reason) - : ResultError($"Could not finish the walk to {X} {Y}, because {Reason}"); \ No newline at end of file diff --git a/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs b/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs deleted file mode 100644 index 51e228e6862c83b888eb783f171da97953276c83..0000000000000000000000000000000000000000 --- a/src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs +++ /dev/null @@ -1,36 +0,0 @@ -// -// WalkUnfinishedReason.cs -// -// Copyright (c) František Boháček. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -namespace NosSmooth.LocalClient.CommandHandlers.Walk; - -/// -/// Reason for not finishing a walk. -/// -public enum WalkUnfinishedReason -{ - /// - /// There was an unknown unfinished reason. - /// - Unknown, - - /// - /// The client could not find path to the given location. - /// - /// - /// The user walked just some part of the path. - /// - PathNotFound, - - /// - /// The user has took an action that has cancelled the walk. - /// - UserAction, - - /// - /// There was another walk action that cancelled this one. - /// - AnotherTask -} \ No newline at end of file diff --git a/src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj b/src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj index ebde64b543ed37f511de46d0da19a26d54c7f5ad..97e15a46a6be57466c7482133d0be47d1eccb306 100644 --- a/src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj +++ b/src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj @@ -13,9 +13,13 @@ - - + + + + + + diff --git a/src/Samples/External/ExternalBrowser/ExternalBrowser.csproj b/src/Samples/External/ExternalBrowser/ExternalBrowser.csproj index 7493054644270ad0475f516213d79f9bf922b74b..65fc3a5361d5de92261444e9b86e693b29f3cc24 100644 --- a/src/Samples/External/ExternalBrowser/ExternalBrowser.csproj +++ b/src/Samples/External/ExternalBrowser/ExternalBrowser.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj b/src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj index bc4529eb6eed9eebd7e49ecb25a41b2bd6ac108e..e65befd2973e6dfc6aab37003b64bcf1f4f21a95 100644 --- a/src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj +++ b/src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/Samples/LowLevel/SimpleChat/SimpleChat.csproj b/src/Samples/LowLevel/SimpleChat/SimpleChat.csproj index 02cb8c270a9f25fd82ce49bfd2dc8d3a99feb09c..8ecc5f9f56d7b198772809f680d3002e2f5b5655 100644 --- a/src/Samples/LowLevel/SimpleChat/SimpleChat.csproj +++ b/src/Samples/LowLevel/SimpleChat/SimpleChat.csproj @@ -18,7 +18,7 @@ - +