mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
refactor: new code style in DalamudStartInfo.cs
This commit is contained in:
parent
b50a977738
commit
afe56e412f
2 changed files with 62 additions and 13 deletions
28
Dalamud/ClientLanguage.cs
Normal file
28
Dalamud/ClientLanguage.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
namespace Dalamud
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Enum describing the language the game loads in.
|
||||||
|
/// </summary>
|
||||||
|
public enum ClientLanguage
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Indicating a Japanese game client.
|
||||||
|
/// </summary>
|
||||||
|
Japanese,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Indicating an English game client.
|
||||||
|
/// </summary>
|
||||||
|
English,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Indicating a German game client.
|
||||||
|
/// </summary>
|
||||||
|
German,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Indicating a French game client.
|
||||||
|
/// </summary>
|
||||||
|
French,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,33 +1,54 @@
|
||||||
using System;
|
using System;
|
||||||
#pragma warning disable 1591
|
#pragma warning disable SA1401 // Fields should be private
|
||||||
|
|
||||||
namespace Dalamud {
|
namespace Dalamud
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class containing information needed to initialize Dalamud.
|
||||||
|
/// </summary>
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public sealed class DalamudStartInfo
|
public sealed class DalamudStartInfo
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The working directory of the XIVLauncher installations.
|
||||||
|
/// </summary>
|
||||||
public string WorkingDirectory;
|
public string WorkingDirectory;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The path to the configuration file.
|
||||||
|
/// </summary>
|
||||||
public string ConfigurationPath;
|
public string ConfigurationPath;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The path to the directory for installed plugins.
|
||||||
|
/// </summary>
|
||||||
public string PluginDirectory;
|
public string PluginDirectory;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The path to the directory for developer plugins.
|
||||||
|
/// </summary>
|
||||||
public string DefaultPluginDirectory;
|
public string DefaultPluginDirectory;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The path to core Dalamud assets.
|
||||||
|
/// </summary>
|
||||||
public string AssetDirectory;
|
public string AssetDirectory;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The language of the game client.
|
||||||
|
/// </summary>
|
||||||
public ClientLanguage Language;
|
public ClientLanguage Language;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The current game version code.
|
||||||
|
/// </summary>
|
||||||
public string GameVersion;
|
public string GameVersion;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether or not market board information should be uploaded by default.
|
||||||
|
/// </summary>
|
||||||
public bool OptOutMbCollection;
|
public bool OptOutMbCollection;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Enum describing the language the game loads in.
|
|
||||||
/// </summary>
|
|
||||||
public enum ClientLanguage
|
|
||||||
{
|
|
||||||
Japanese,
|
|
||||||
English,
|
|
||||||
German,
|
|
||||||
French
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore SA1401 // Fields should be private
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue