From 4e24e8c31f8e89d31857a47af07bbbc26a47a42a Mon Sep 17 00:00:00 2001 From: Noevain Date: Tue, 3 Sep 2024 15:55:34 +0200 Subject: [PATCH] Cleanup unused variables+add preview --- README.md | 3 +++ VoiceDirector/Plugin.cs | 1 - VoiceDirector/Windows/ConfigWindow.cs | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 137e745..3809d48 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ ### Voice Director Change the config variable '''CutsceneMovieVoice''' based on what content the player is currently in, changes it back when leaving. + +### Preview +![UI_preview](https://raw.githubusercontent.com/noevain/VoiceDirector/master/images/preview1.png) \ No newline at end of file diff --git a/VoiceDirector/Plugin.cs b/VoiceDirector/Plugin.cs index c2f0211..84182ff 100644 --- a/VoiceDirector/Plugin.cs +++ b/VoiceDirector/Plugin.cs @@ -34,7 +34,6 @@ public enum CutsceneMovieVoiceValue : ushort public sealed class Plugin : IDalamudPlugin { [PluginService] internal static IDalamudPluginInterface PluginInterface { get; private set; } = null!; - [PluginService] internal static ITextureProvider TextureProvider { get; private set; } = null!; [PluginService] internal static ICommandManager CommandManager { get; private set; } = null!; [PluginService] internal static IClientState clientState { get; private set; } = null!; diff --git a/VoiceDirector/Windows/ConfigWindow.cs b/VoiceDirector/Windows/ConfigWindow.cs index 2e82240..e11df77 100644 --- a/VoiceDirector/Windows/ConfigWindow.cs +++ b/VoiceDirector/Windows/ConfigWindow.cs @@ -24,7 +24,6 @@ public class ConfigWindow : Window, IDisposable private CutsceneMovieVoiceValue language_sel = CutsceneMovieVoiceValue.English; public string _filter = string.Empty; public ContentFinderCondition _selected; - public ExcelSheet mappies = Plugin.DataManager.GetExcelSheet(); public ExcelSheet contents = Plugin.DataManager.GetExcelSheet(); public bool _error; // We give this window a constant ID using ###