diff --git a/Assets/PerfectWorld/Scripts/Inventory/EC_IvtrType.cs b/Assets/PerfectWorld/Scripts/Inventory/EC_IvtrType.cs index 5e4f43354d..9064fcc8d0 100644 --- a/Assets/PerfectWorld/Scripts/Inventory/EC_IvtrType.cs +++ b/Assets/PerfectWorld/Scripts/Inventory/EC_IvtrType.cs @@ -59,6 +59,12 @@ namespace BrewMonster.Scripts public const int IVTRSIZE_BOOTHBPACK_MAX = 20; // Max booth pack for buying public const int IVTRSIZE_CLIENTCARDPACK = 32; // Client pack for general card collection + + // Main bag UI (C++ DlgInventory.h: CECDLGSHOP_PACKMAX / PACKLINEMAX) + public const int IVTRSIZE_PACK_UI_PAGE = 32; + public const int IVTRSIZE_PACK_UI_LINE = 8; + /// Upper bound for client pack slots (server ivtr_size is byte). + public const int IVTRSIZE_PACK_MAX = 255; public const int NUM_NPCIVTR = 8; // NPC inventory number diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_InventoryUI.cs b/Assets/PerfectWorld/Scripts/Managers/EC_InventoryUI.cs index 590926e83f..e374f7d57e 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_InventoryUI.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_InventoryUI.cs @@ -25,6 +25,10 @@ namespace BrewMonster.Scripts.Managers [Header("Pack Buttons (assign in Inspector)")] [Tooltip("Main slot grid: shows IVTRTYPE_PACK (0) on Item tab and IVTRTYPE_TASKPACK (2) on Task tab.")] [SerializeField] private List