refactor: move Dalamud interface into a class

This commit is contained in:
goat 2021-01-16 18:06:10 +01:00
parent b37a2d1786
commit 3ee8e02f02
7 changed files with 367 additions and 329 deletions

View file

@ -91,7 +91,7 @@ namespace Dalamud.Game {
dalamud.Framework.Gui.Chat.OnChatMessage += OnChatMessage;
this.openInstallerWindowLink = this.dalamud.Framework.Gui.Chat.AddChatLinkHandler("Dalamud", 1001, (i, m) => {
this.dalamud.OpenPluginInstaller();
this.dalamud.DalamudUi.OpenPluginInstaller();
});
}
@ -212,7 +212,7 @@ namespace Dalamud.Game {
Type = XivChatType.Notice
});
this.dalamud.OpenChangelog();
this.dalamud.DalamudUi.OpenChangelog();
this.dalamud.Configuration.LastVersion = assemblyVersion;
this.dalamud.Configuration.Save();