public void Dispose() { this.InGameIMEFuncHook.Disable(); this.IsDirectChatFuncHook.Disable(); CommandManager.RemoveHandler("/imeplugin"); Gui?.Dispose(); PluginInterface?.Dispose(); }
public void Dispose() { GameNetwork.NetworkMessage -= OnNetworkEvent; PluginInterface.UiBuilder.Draw -= DrawWindow; PluginInterface.UiBuilder.OpenConfigUi -= OpenConfigUi; CommandManager.RemoveHandler(commandName); PluginInterface.Dispose(); }
public void Dispose() { this.iconReplacer.Dispose(); CommandManager.RemoveHandler("/pcombo"); PluginInterface.Dispose(); }
public void Dispose() { PluginInterface.UiBuilder.OnBuildUi -= this.BuildUI; FittingRoomUI?.Dispose(); itemSearchWindow?.Dispose(); RemoveCommands(); PluginInterface.Dispose(); }
public void Dispose() { PluginInterface.UiBuilder.OnBuildUi -= SettingsInterface.Draw; PluginInterface.CommandManager.RemoveHandler(CommandName); PluginInterface.Dispose(); ResourceLoader.Dispose(); }
public void Dispose() { PluginInterface.UiBuilder.OnBuildUi -= this.BuildUI; PluginInterface.UiBuilder.OnBuildFonts -= this.BuildFont; PluginInterface.UiBuilder.OnOpenConfigUi -= this.OnConfigCommandHandler; PluginInterface.Framework.OnUpdateEvent -= this.OnFrameworkUpdate; PluginInterface.UiBuilder.RebuildFonts(); fpsHistoryInterval?.Stop(); RemoveCommands(); PluginInterface.Dispose(); }
public void Dispose() { PluginInterface.UiBuilder.OnOpenConfigUi -= OnOpenConfigUi; PluginInterface.UiBuilder.OnBuildUi -= this.BuildUI; PluginInterface.Framework.OnUpdateEvent -= FrameworkUpdate; ActionManager?.Dispose(); IconManager?.Dispose(); generalStopwatch.Stop(); OutOfCombatTimer.Stop(); cacheTimer.Stop(); RemoveCommands(); PluginInterface.Dispose(); }
public void Dispose() { // ModManager?.Dispose(); PluginInterface !.UiBuilder.OnBuildUi -= SettingsInterface !.Draw; PluginInterface.CommandManager.RemoveHandler(CommandName); PluginInterface.Dispose(); ResourceLoader?.Dispose(); ShutdownWebServer(); }
public void Dispose() { PluginInterface.UiBuilder.OnBuildUi -= this.BuildUI; FittingRoomUI?.Dispose(); itemSearchWindow?.Dispose(); RemoveCommands(); PluginInterface.Dispose(); foreach (var t in textureDictionary) { t.Value?.Dispose(); } textureDictionary.Clear(); }
/// <summary> /// Dispose plugin. /// </summary> public void Dispose() { try { ClientState.Login -= this.Login; this.XivCommon.Dispose(); this.WindowManager.Dispose(); PluginCommandManager.Dispose(); this.ContextMenuManager.Dispose(); this.HoveredItemManager.Dispose(); this.ItemCancellationTokenSource?.Dispose(); this.UniversalisClient.Dispose(); this.localization.Dispose(); } catch (Exception ex) { Logger.LogError(ex, "Failed to dispose plugin properly."); } PluginInterface.Dispose(); GC.SuppressFinalize(this); }