feat: add special storage window definitions, player bindings, and UI module exports

This commit is contained in:
shen
2026-10-20 02:38:26 -07:00
parent 2fc99d2fe7
commit 9ef25b79d8
7 changed files with 158 additions and 3 deletions
@@ -85,6 +85,22 @@ int main(int argc, char** argv)
"assert app.BL_67_ATTR == 1\n"
"assert player.ON_TOP_WND_ATTR_67 == 7\n"
"assert player.ON_TOP_WND_NONE == 0\n"
"assert app.ENABLE_SPECIAL_STORAGE == 1\n"
"assert player.SWITCHBOT == 7\n"
"assert player.UPGRADE_INVENTORY == 8\n"
"assert player.BOOK_INVENTORY == 9\n"
"assert player.STONE_INVENTORY == 10\n"
"assert player.CHANGE_INVENTORY == 11\n"
"assert player.COSTUME_INVENTORY == 12\n"
"assert player.SLOT_TYPE_UPGRADE_INVENTORY > 0\n"
"assert player.SLOT_TYPE_BOOK_INVENTORY > 0\n"
"assert player.SLOT_TYPE_STONE_INVENTORY > 0\n"
"assert player.SLOT_TYPE_CHANGE_INVENTORY > 0\n"
"assert player.SLOT_TYPE_COSTUME_INVENTORY > 0\n"
"assert player.SPECIAL_PAGE_SIZE == 45\n"
"assert player.SPECIAL_PAGE_COUNT == 4\n"
"assert player.SPECIAL_SLOT_COUNT == 180\n"
"assert hasattr(player, 'GetItemCountByTT')\n"
"import net\n"
"assert hasattr(net, 'Send67AttrPacket')\n"
"assert hasattr(net, 'Send67AttrClosePacket')\n"