~ruther/NosSmooth.Local

164d42bd72f79243e9213deca6a4fce4d044490e — Rutherther 3 years ago edbc2a4
chore: update dependencies
7 files changed, 10 insertions(+), 60 deletions(-)

M src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj
D src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs
D src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs
M src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj
M src/Samples/External/ExternalBrowser/ExternalBrowser.csproj
M src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj
M src/Samples/LowLevel/SimpleChat/SimpleChat.csproj
M src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj => src/Core/NosSmooth.LocalBinding/NosSmooth.LocalBinding.csproj +1 -1
@@ 10,7 10,7 @@
    <ItemGroup>
      <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
      <PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
      <PackageReference Include="Reloaded.Hooks" Version="3.5.0" />
      <PackageReference Include="Reloaded.Hooks" Version="3.5.1" />
      <PackageReference Include="Reloaded.Memory.Sigscan" Version="1.2.1" />
      <PackageReference Include="Remora.Results" Version="7.1.0" />
    </ItemGroup>

D src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs => src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/Errors/WalkNotFinishedError.cs +0 -18
@@ 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;

/// <summary>
/// Represents an error that can be returned from walk command handler.
/// </summary>
/// <param name="X">The x coordinate where the player is. (if known)</param>
/// <param name="Y">The y coordinate where the player is. (if known)</param>
/// <param name="Reason"></param>
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

D src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs => src/Core/NosSmooth.LocalClient/CommandHandlers/Walk/WalkUnfinishedReason.cs +0 -36
@@ 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;

/// <summary>
/// Reason for not finishing a walk.
/// </summary>
public enum WalkUnfinishedReason
{
    /// <summary>
    /// There was an unknown unfinished reason.
    /// </summary>
    Unknown,

    /// <summary>
    /// The client could not find path to the given location.
    /// </summary>
    /// <remarks>
    /// The user walked just some part of the path.
    /// </remarks>
    PathNotFound,

    /// <summary>
    /// The user has took an action that has cancelled the walk.
    /// </summary>
    UserAction,

    /// <summary>
    /// There was another walk action that cancelled this one.
    /// </summary>
    AnotherTask
}
\ No newline at end of file

M src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj => src/Core/NosSmooth.LocalClient/NosSmooth.LocalClient.csproj +6 -2
@@ 13,9 13,13 @@

    <ItemGroup>
      <PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
      <PackageReference Include="NosSmooth.Core" Version="1.0.0" />
      <PackageReference Include="Reloaded.Hooks" Version="3.5.0" />
      <PackageReference Include="NosSmooth.Core" Version="1.1.1" />
      <PackageReference Include="Reloaded.Hooks" Version="3.5.1" />
      <PackageReference Include="Reloaded.Memory.Sigscan" Version="1.2.1" />
    </ItemGroup>

    <ItemGroup>
      <Folder Include="CommandHandlers\Attack" />
    </ItemGroup>

</Project>

M src/Samples/External/ExternalBrowser/ExternalBrowser.csproj => src/Samples/External/ExternalBrowser/ExternalBrowser.csproj +1 -1
@@ 12,7 12,7 @@
    </ItemGroup>

    <ItemGroup>
      <PackageReference Include="NosSmooth.Core" Version="1.0.0" />
      <PackageReference Include="NosSmooth.Core" Version="1.1.1" />
    </ItemGroup>

</Project>

M src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj => src/Samples/LowLevel/InterceptNameChanger/InterceptNameChanger.csproj +1 -1
@@ 17,7 17,7 @@
    <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
    <PackageReference Include="NosSmooth.Core" Version="1.0.0" />
    <PackageReference Include="NosSmooth.Core" Version="1.1.1" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\Core\NosSmooth.LocalClient\NosSmooth.LocalClient.csproj" />

M src/Samples/LowLevel/SimpleChat/SimpleChat.csproj => src/Samples/LowLevel/SimpleChat/SimpleChat.csproj +1 -1
@@ 18,7 18,7 @@
    <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
    <PackageReference Include="NosSmooth.Core" Version="1.0.0" />
    <PackageReference Include="NosSmooth.Core" Version="1.1.1" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\Core\NosSmooth.LocalClient\NosSmooth.LocalClient.csproj" />

Do not follow this link