Merge branch 'master' into dev/pie-lover
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ public static unsafe class InventoryState
|
|||||||
|
|
||||||
if (updateRequested)
|
if (updateRequested)
|
||||||
{
|
{
|
||||||
System.AddonInventoryWindow?.UpdateLootedCategory(LootedItems ?? []);
|
// System.AddonInventoryWindow?.UpdateLootedCategory(LootedItems ?? []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user