Skip to content

Commit

Permalink
actually just move the language types, don't use the one from the com…
Browse files Browse the repository at this point in the history
…mon assembly
  • Loading branch information
goaaats committed Jun 28, 2024
1 parent b212b4e commit 7e397be
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Dalamud.Test/Game/Text/Sanitizer/SanitizerTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
using System.Collections.Generic;
using System.Linq;

using Dalamud.Game;

using Xunit;

// ReSharper disable StringLiteralTypo
Expand Down
1 change: 1 addition & 0 deletions Dalamud/Data/DataManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.IO;
using System.Threading;

using Dalamud.Game;
using Dalamud.IoC;
using Dalamud.IoC.Internal;
using Dalamud.Plugin.Services;
Expand Down
5 changes: 1 addition & 4 deletions Dalamud/ClientLanguage.cs → Dalamud/Game/ClientLanguage.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using Dalamud.Utility;

namespace Dalamud;
namespace Dalamud.Game;

/// <summary>
/// Enum describing the language the game loads in.
/// </summary>
[Api10ToDo("Delete this, and use Dalamud.Common.ClientLanguage instead for everything.")]
public enum ClientLanguage
{
/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions Dalamud/Interface/Textures/GameIconLookup.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System.Text;

using Dalamud.Game;

namespace Dalamud.Interface.Textures;

/// <summary>Represents a lookup for a game icon.</summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.IO;

using Dalamud.Game;
using Dalamud.Plugin.Services;

namespace Dalamud.Interface.Textures.Internal;
Expand Down
1 change: 1 addition & 0 deletions Dalamud/Plugin/Services/IClientState.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using Dalamud.Game;
using Dalamud.Game.ClientState.Conditions;
using Dalamud.Game.ClientState.Objects.SubKinds;

Expand Down
2 changes: 2 additions & 0 deletions Dalamud/Plugin/Services/IDataManager.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Dalamud.Game;

using Lumina;
using Lumina.Data;
using Lumina.Excel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using Dalamud.Utility;
using Dalamud.Game;

namespace Dalamud;
namespace Dalamud.Utility;

/// <summary>
/// Extension methods for the <see cref="ClientLanguage"/> class.
/// </summary>
[Api10ToDo("Delete this, and use Dalamud.Common.ClientLanguage instead for everything.")]
public static class ClientLanguageExtensions
{
/// <summary>
Expand Down

0 comments on commit 7e397be

Please sign in to comment.