Align AVA2 Windows behavior and improve mobile touch interactions
This commit is contained in:
@@ -77,9 +77,9 @@ void TestSafeBoxCpp() {
|
||||
std::cout << "[Test 2] Testing CPythonSafeBox storeroom..." << std::endl;
|
||||
auto& sb = CPythonSafeBox::Instance();
|
||||
|
||||
// Open 3 pages (3 * 45 = 135 slots)
|
||||
// Windows OpenSafeBox takes rows: three rows * five columns, not three pages.
|
||||
sb.OpenSafeBox(3);
|
||||
assert(sb.GetCurrentSafeBoxSize() == 135);
|
||||
assert(sb.GetCurrentSafeBoxSize() == 15);
|
||||
|
||||
sb.SetMoney(9876543);
|
||||
assert(sb.GetMoney() == 9876543);
|
||||
@@ -106,8 +106,8 @@ void TestSafeBoxCpp() {
|
||||
assert(sb.GetSlotItemID(5, &queriedVnum) && queriedVnum == 0);
|
||||
|
||||
// Mall
|
||||
sb.OpenMall(2); // 2 * 45 = 90 slots
|
||||
assert(sb.GetMallSize() == 90);
|
||||
sb.OpenMall(2); // Two rows * five columns.
|
||||
assert(sb.GetMallSize() == 10);
|
||||
|
||||
TItemData mallItem;
|
||||
mallItem.vnum = 70005; // Teleportation Ring
|
||||
|
||||
Reference in New Issue
Block a user