mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
refactor: rename DALAMUD_API_LEVEL
This commit is contained in:
parent
aca3da09b1
commit
30280c520c
4 changed files with 4 additions and 4 deletions
|
|
@ -239,7 +239,7 @@ namespace Dalamud.Interface
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
ImGui.MenuItem("API Level:" + PluginManager.DALAMUD_API_LEVEL, false);
|
ImGui.MenuItem("API Level:" + PluginManager.DalamudApiLevel, false);
|
||||||
ImGui.MenuItem("Loaded plugins:" + this.dalamud.PluginManager?.Plugins.Count, false);
|
ImGui.MenuItem("Loaded plugins:" + this.dalamud.PluginManager?.Plugins.Count, false);
|
||||||
ImGui.EndMenu();
|
ImGui.EndMenu();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ namespace Dalamud.Plugin
|
||||||
public bool IsHide { get; set; }
|
public bool IsHide { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets 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.
|
/// Gets or sets the API level of this plugin. For the current API level, please see <see cref="PluginManager.DalamudApiLevel"/> for the currently used API level.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int DalamudApiLevel { get; set; }
|
public int DalamudApiLevel { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -359,7 +359,7 @@ namespace Dalamud.Plugin
|
||||||
if (pluginDefinition.IsHide)
|
if (pluginDefinition.IsHide)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (pluginDefinition.DalamudApiLevel < PluginManager.DALAMUD_API_LEVEL)
|
if (pluginDefinition.DalamudApiLevel < PluginManager.DalamudApiLevel)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (this.dalamud.Configuration.HiddenPluginInternalName.Contains(pluginDefinition.InternalName))
|
if (this.dalamud.Configuration.HiddenPluginInternalName.Contains(pluginDefinition.InternalName))
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ namespace Dalamud.Plugin
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (remoteInfo.DalamudApiLevel < PluginManager.DALAMUD_API_LEVEL) {
|
if (remoteInfo.DalamudApiLevel < PluginManager.DalamudApiLevel) {
|
||||||
Log.Information("Has not applicable API level: {0}", info.Name);
|
Log.Information("Has not applicable API level: {0}", info.Name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue