M Core/NosSmooth.Game/Apis/NostaleChatPacketApi.cs => Core/NosSmooth.Game/Apis/NostaleChatPacketApi.cs +2 -2
@@ 7,7 7,7 @@
using NosSmooth.Core.Client;
using NosSmooth.Packets.Enums;
using NosSmooth.Packets.Enums.Chat;
-using NosSmooth.Packets.Packets.Server.Chat;
+using NosSmooth.Packets.Server.Chat;
using Remora.Results;
namespace NosSmooth.Game.Apis;
@@ 49,7 49,7 @@ public class NostaleChatPacketApi
/// <param name="ct">The cancellation token for cancelling the operation.</param>
/// <returns>A result that may or may not have succeeded.</returns>
public Task<Result> SendMessageAsync(string content, CancellationToken ct = default)
- => _client.SendPacketAsync(new Packets.Packets.Client.Chat.SayPacket(content), ct);
+ => _client.SendPacketAsync(new Packets.Client.Chat.SayPacket(content), ct);
/// <summary>
/// Sends the given message to the family chat.
M Core/NosSmooth.Game/Apis/NostaleSkillsPacketApi.cs => Core/NosSmooth.Game/Apis/NostaleSkillsPacketApi.cs +1 -1
@@ 8,8 8,8 @@ using NosSmooth.Core.Client;
using NosSmooth.Game.Data.Characters;
using NosSmooth.Game.Data.Entities;
using NosSmooth.Game.Errors;
+using NosSmooth.Packets.Client.Battle;
using NosSmooth.Packets.Enums;
-using NosSmooth.Packets.Packets.Client.Battle;
using Remora.Results;
namespace NosSmooth.Game.Apis;
M Core/NosSmooth.Game/Data/Dialogs/Dialog.cs => Core/NosSmooth.Game/Data/Dialogs/Dialog.cs +0 -2
@@ 4,8 4,6 @@
// 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 OneOf;
-
namespace NosSmooth.Game.Data.Dialogs;
/// <summary>
M Core/NosSmooth.Game/Data/Entities/Player.cs => Core/NosSmooth.Game/Data/Entities/Player.cs +0 -1
@@ 4,7 4,6 @@
// 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 System.Collections.ObjectModel;
using NosSmooth.Game.Data.Info;
using NosSmooth.Packets.Enums;
using NosSmooth.Packets.Enums.Players;
M Core/NosSmooth.Game/NosSmooth.Game.csproj => Core/NosSmooth.Game/NosSmooth.Game.csproj +1 -1
@@ 4,7 4,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>10</LangVersion>
- <TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
+ <TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
M Core/NosSmooth.Game/PacketHandlers/Characters/CharacterInitResponder.cs => Core/NosSmooth.Game/PacketHandlers/Characters/CharacterInitResponder.cs +1 -2
@@ 4,14 4,13 @@
// 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 System.Data.Common;
using NosSmooth.Core.Packets;
using NosSmooth.Game.Data.Characters;
using NosSmooth.Game.Data.Info;
using NosSmooth.Game.Data.Social;
using NosSmooth.Game.Events.Characters;
using NosSmooth.Game.Events.Core;
-using NosSmooth.Packets.Packets.Server.Players;
+using NosSmooth.Packets.Server.Players;
using Remora.Results;
namespace NosSmooth.Game.PacketHandlers.Characters;
M Core/NosSmooth.Game/PacketHandlers/Characters/SkillResponder.cs => Core/NosSmooth.Game/PacketHandlers/Characters/SkillResponder.cs +1 -1
@@ 8,7 8,7 @@ using NosSmooth.Core.Packets;
using NosSmooth.Game.Data.Characters;
using NosSmooth.Game.Events.Characters;
using NosSmooth.Game.Events.Core;
-using NosSmooth.Packets.Packets.Server.Skills;
+using NosSmooth.Packets.Server.Skills;
using Remora.Results;
namespace NosSmooth.Game.PacketHandlers.Characters;
M Core/NosSmooth.Game/PacketHandlers/Characters/WalkResponder.cs => Core/NosSmooth.Game/PacketHandlers/Characters/WalkResponder.cs +1 -1
@@ 9,7 9,7 @@ using NosSmooth.Game.Data.Characters;
using NosSmooth.Game.Data.Info;
using NosSmooth.Game.Events.Core;
using NosSmooth.Game.Events.Entities;
-using NosSmooth.Packets.Packets.Client.Movement;
+using NosSmooth.Packets.Client.Movement;
using Remora.Results;
namespace NosSmooth.Game.PacketHandlers.Characters;
M Core/NosSmooth.Game/PacketHandlers/Entities/SkillUsedResponder.cs => Core/NosSmooth.Game/PacketHandlers/Entities/SkillUsedResponder.cs +2 -3
@@ 10,9 10,8 @@ using NosSmooth.Game.Events.Characters;
using NosSmooth.Game.Events.Core;
using NosSmooth.Game.Events.Players;
using NosSmooth.Game.Extensions;
-using NosSmooth.Packets.Enums;
-using NosSmooth.Packets.Packets.Server.Battle;
-using NosSmooth.Packets.Packets.Server.Skills;
+using NosSmooth.Packets.Server.Battle;
+using NosSmooth.Packets.Server.Skills;
using Remora.Results;
namespace NosSmooth.Game.PacketHandlers.Entities;