Prevent vanilla tooltip for event item and implement #28

This commit is contained in:
Infi
2024-04-30 03:49:53 +02:00
parent 695fd997d7
commit a74cdcb899
11 changed files with 110 additions and 40 deletions
+2 -6
View File
@@ -1,7 +1,6 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Reflection;
using ChatTwo.Ipc;
using ChatTwo.Resources;
using ChatTwo.Ui;
@@ -41,9 +40,6 @@ public sealed class Plugin : IDalamudPlugin
[PluginService] internal static INotificationManager Notification { get; private set; } = null!;
[PluginService] internal static IAddonLifecycle AddonLifecycle { get; private set; } = null!;
public const string Authors = "Infi, Anna";
public static readonly string Version = Assembly.GetExecutingAssembly().GetName().Version?.ToString(3) ?? "Unknown";
public readonly WindowSystem WindowSystem = new(PluginName);
public SettingsWindow SettingsWindow { get; }
public ChatLogWindow ChatLogWindow { get; }
@@ -124,12 +120,12 @@ public sealed class Plugin : IDalamudPlugin
Interface.UiBuilder.Draw += Draw;
Interface.LanguageChanged += LanguageChanged;
#if !DEBUG
#if !DEBUG
// Avoid 300ms hitch when sending first message by preloading the
// auto-translate cache. Don't do this in debug because it makes
// profiling difficult.
AutoTranslate.PreloadCache(DataManager);
#endif
#endif
}
catch
{