mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +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.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.EndMenu();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ namespace Dalamud.Plugin
|
|||
public bool IsHide { get; set; }
|
||||
|
||||
/// <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>
|
||||
public int DalamudApiLevel { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@ namespace Dalamud.Plugin
|
|||
if (pluginDefinition.IsHide)
|
||||
continue;
|
||||
|
||||
if (pluginDefinition.DalamudApiLevel < PluginManager.DALAMUD_API_LEVEL)
|
||||
if (pluginDefinition.DalamudApiLevel < PluginManager.DalamudApiLevel)
|
||||
continue;
|
||||
|
||||
if (this.dalamud.Configuration.HiddenPluginInternalName.Contains(pluginDefinition.InternalName))
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ namespace Dalamud.Plugin
|
|||
continue;
|
||||
}
|
||||
|
||||
if (remoteInfo.DalamudApiLevel < PluginManager.DALAMUD_API_LEVEL) {
|
||||
if (remoteInfo.DalamudApiLevel < PluginManager.DalamudApiLevel) {
|
||||
Log.Information("Has not applicable API level: {0}", info.Name);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue