mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-25 22:21:49 +01:00
Change seenLogMessageObjects to HashSet for efficiency
This commit is contained in:
parent
c1df0da9be
commit
fae98fa26a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ internal sealed unsafe class ChatGui : IInternalDisposableService, IChatGui
|
||||||
|
|
||||||
private readonly Queue<XivChatEntry> chatQueue = new();
|
private readonly Queue<XivChatEntry> chatQueue = new();
|
||||||
private readonly Dictionary<(string PluginName, uint CommandId), Action<uint, SeString>> dalamudLinkHandlers = [];
|
private readonly Dictionary<(string PluginName, uint CommandId), Action<uint, SeString>> dalamudLinkHandlers = [];
|
||||||
private readonly List<nint> seenLogMessageObjects = [];
|
private readonly HashSet<nint> seenLogMessageObjects = [];
|
||||||
|
|
||||||
private readonly Hook<PrintMessageDelegate> printMessageHook;
|
private readonly Hook<PrintMessageDelegate> printMessageHook;
|
||||||
private readonly Hook<InventoryItem.Delegates.Copy> inventoryItemCopyHook;
|
private readonly Hook<InventoryItem.Delegates.Copy> inventoryItemCopyHook;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue