Don't subscribe to atkarray
This commit is contained in:
@@ -79,7 +79,7 @@ public unsafe class AddonInventoryWindow : InventoryAddonBase
|
||||
|
||||
LayoutContent();
|
||||
|
||||
addon->SubscribeAtkArrayData(1, (int)NumberArrayType.Inventory);
|
||||
//addon->SubscribeAtkArrayData(1, (int)NumberArrayType.Inventory);
|
||||
|
||||
System.LootedItemsTracker.OnLootedItemsChanged += OnLootedItemsChanged;
|
||||
|
||||
|
||||
@@ -425,6 +425,7 @@ public abstract unsafe class InventoryAddonBase : NativeAddon, IInventoryWindow
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
protected override void OnRequestedUpdate(AtkUnitBase* addon, NumberArrayData** numberArrayData, StringArrayData** stringArrayData)
|
||||
{
|
||||
_requestedUpdateCount++;
|
||||
@@ -438,6 +439,7 @@ public abstract unsafe class InventoryAddonBase : NativeAddon, IInventoryWindow
|
||||
InventoryState.RefreshFromGame();
|
||||
RefreshCategoriesCore(autosize: true);
|
||||
}
|
||||
*/
|
||||
|
||||
protected override void OnSetup(AtkUnitBase* addon)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user