Resolve build errors, disable wip code

This commit is contained in:
Shawrkie Williams
2025-12-29 15:48:46 -05:00
parent dc1dbbfbcb
commit a6b17b657e
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -132,7 +132,7 @@ public class AddonInventoryWindow : NativeAddon
RefreshCategoriesCore(true); RefreshCategoriesCore(true);
} }
public void UpdateLootedCategory(IReadOnlyList<LootedItemInfo> lootedItemInfos) /*public void UpdateLootedCategory(IReadOnlyList<LootedItemInfo> lootedItemInfos)
{ {
if (!Services.ClientState.IsLoggedIn) return; if (!Services.ClientState.IsLoggedIn) return;
_recentlyLootedCategoryNode?.CategorizedInventory.Items.AddRange( _recentlyLootedCategoryNode?.CategorizedInventory.Items.AddRange(
@@ -144,7 +144,7 @@ public class AddonInventoryWindow : NativeAddon
}) })
.ToList()); .ToList());
RefreshCategoriesCore(true); RefreshCategoriesCore(true);
} }*/
public void ManualCurrencyRefresh() public void ManualCurrencyRefresh()
{ {
+1 -1
View File
@@ -166,7 +166,7 @@ public static unsafe class InventoryState
if (updateRequested) if (updateRequested)
{ {
System.AddonInventoryWindow?.UpdateLootedCategory(LootedItems ?? []); // System.AddonInventoryWindow?.UpdateLootedCategory(LootedItems ?? []);
} }
} }
+2 -2
View File
@@ -47,7 +47,7 @@ public unsafe class Plugin : IDalamudPlugin
_commandHandler = new CommandHandler(); _commandHandler = new CommandHandler();
Services.GameInventory.InventoryChanged += InventoryState.OnRawItemAdded; // Services.GameInventory.InventoryChanged += InventoryState.OnRawItemAdded;
Services.ClientState.Login += OnLogin; Services.ClientState.Login += OnLogin;
Services.ClientState.Logout += OnLogout; Services.ClientState.Logout += OnLogout;
@@ -64,7 +64,7 @@ public unsafe class Plugin : IDalamudPlugin
{ {
Util.SaveConfig(System.Config); Util.SaveConfig(System.Config);
Services.GameInventory.InventoryChanged -= InventoryState.OnRawItemAdded; // Services.GameInventory.InventoryChanged -= InventoryState.OnRawItemAdded;
Services.ClientState.Login -= OnLogin; Services.ClientState.Login -= OnLogin;
Services.ClientState.Logout -= OnLogout; Services.ClientState.Logout -= OnLogout;