Use own ConfigType enum (#1319)

This commit is contained in:
Cara 2023-07-27 06:30:22 +09:30 committed by GitHub
parent 26152f8422
commit c37d8a15fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 9 deletions

View file

@ -0,0 +1,32 @@
namespace Dalamud.Game.Config;
/// <summary>
/// Types of options used by the game config.
/// </summary>
public enum ConfigType
{
/// <summary>
/// Unused config index.
/// </summary>
Unused = 0,
/// <summary>
/// A label entry with no value.
/// </summary>
Category = 1,
/// <summary>
/// A config entry with an unsigned integer value.
/// </summary>
UInt = 2,
/// <summary>
/// A config entry with a float value.
/// </summary>
Float = 3,
/// <summary>
/// A config entry with a string value.
/// </summary>
String = 4,
}

View file

@ -1,6 +1,4 @@
using FFXIVClientStructs.FFXIV.Common.Configuration;
namespace Dalamud.Game.Config;
namespace Dalamud.Game.Config;
// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo

View file

@ -1,6 +1,4 @@
using FFXIVClientStructs.FFXIV.Common.Configuration;
namespace Dalamud.Game.Config;
namespace Dalamud.Game.Config;
// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo

View file

@ -1,6 +1,4 @@
using FFXIVClientStructs.FFXIV.Common.Configuration;
namespace Dalamud.Game.Config;
namespace Dalamud.Game.Config;
// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo