mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
refactor: OnDraw, OnBuildUi -> Draw,
This commit is contained in:
parent
9214e17577
commit
3c65cc95ee
4 changed files with 11 additions and 11 deletions
|
|
@ -35,7 +35,7 @@ namespace Dalamud.CorePlugin
|
|||
|
||||
this.windowSystem.AddWindow(new PluginWindow(Dalamud.Instance));
|
||||
|
||||
this.Interface.UiBuilder.OnBuildUi += this.OnDraw;
|
||||
this.Interface.UiBuilder.Draw += this.OnDraw;
|
||||
this.Interface.UiBuilder.OnOpenConfigUi += this.OnOpenConfigUi;
|
||||
|
||||
this.Interface.CommandManager.AddHandler("/di", new(this.OnCommand) { HelpMessage = $"Access the {this.Name} plugin." });
|
||||
|
|
@ -51,7 +51,7 @@ namespace Dalamud.CorePlugin
|
|||
{
|
||||
this.Interface.CommandManager.RemoveHandler("/di");
|
||||
|
||||
this.Interface.UiBuilder.OnBuildUi -= this.OnDraw;
|
||||
this.Interface.UiBuilder.Draw -= this.OnDraw;
|
||||
|
||||
this.windowSystem.RemoveAllWindows();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue