mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
Better Service dependency handling (#1535)
This commit is contained in:
parent
fcebd15077
commit
b66be84b93
25 changed files with 415 additions and 197 deletions
|
|
@ -69,7 +69,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
private string[] testerImagePaths = new string[5];
|
||||
private string testerIconPath = string.Empty;
|
||||
|
||||
private IDalamudTextureWrap?[] testerImages;
|
||||
private IDalamudTextureWrap?[]? testerImages;
|
||||
private IDalamudTextureWrap? testerIcon;
|
||||
|
||||
private bool testerError = false;
|
||||
|
|
@ -132,9 +132,10 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
/// Initializes a new instance of the <see cref="PluginInstallerWindow"/> class.
|
||||
/// </summary>
|
||||
/// <param name="imageCache">An instance of <see cref="PluginImageCache"/> class.</param>
|
||||
public PluginInstallerWindow(PluginImageCache imageCache)
|
||||
/// <param name="configuration">An instance of <see cref="DalamudConfiguration"/>.</param>
|
||||
public PluginInstallerWindow(PluginImageCache imageCache, DalamudConfiguration configuration)
|
||||
: base(
|
||||
Locs.WindowTitle + (Service<DalamudConfiguration>.Get().DoPluginTest ? Locs.WindowTitleMod_Testing : string.Empty) + "###XlPluginInstaller",
|
||||
Locs.WindowTitle + (configuration.DoPluginTest ? Locs.WindowTitleMod_Testing : string.Empty) + "###XlPluginInstaller",
|
||||
ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoScrollbar)
|
||||
{
|
||||
this.IsOpen = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue