mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 07:17:45 +01:00
refactor: clean up some warnings
This commit is contained in:
parent
638dacbbf4
commit
b7e36fb2e6
8 changed files with 147 additions and 2 deletions
|
|
@ -8,14 +8,49 @@ namespace Dalamud.Plugin
|
|||
{
|
||||
public class PluginDefinition
|
||||
{
|
||||
/// <summary>
|
||||
/// The author/s of the plugin.
|
||||
/// </summary>
|
||||
public string Author { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The public name of the plugin.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The internal name of the plugin, which should match the assembly name of the plugin.
|
||||
/// </summary>
|
||||
public string InternalName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The current assembly version of the plugin.
|
||||
/// </summary>
|
||||
public string AssemblyVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A description of the plugins functions.
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The version of the game this plugin works with.
|
||||
/// </summary>
|
||||
public string ApplicableVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An URL to the website or source code of the plugin.
|
||||
/// </summary>
|
||||
public string RepoUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the plugin is hidden in the plugin installer.
|
||||
/// </summary>
|
||||
public bool IsHide { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The API level of this plugin. For the current API level, please see <see cref="PluginManager.DALAMUD_API_LEVEL"/> for the currently used API level.
|
||||
/// </summary>
|
||||
public int DalamudApiLevel { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Serilog;
|
|||
namespace Dalamud.Plugin
|
||||
{
|
||||
internal class PluginManager {
|
||||
public const int DALAMUD_API_LEVEL = 1;
|
||||
public static int DALAMUD_API_LEVEL = 1;
|
||||
|
||||
private readonly Dalamud dalamud;
|
||||
private readonly string pluginDirectory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue