page.py 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. from __future__ import annotations
  2. """GameUi 页面公共导出层。
  3. 外部任务统一继续从 `tasks.GameUi.page` 导入页面定义、页面模型和辅助组合器,
  4. 内部实现已经拆分到多个独立文件中。
  5. """
  6. from tasks.GameUi.action import ActionSequence, ConditionalAction, conditional_action, sequence
  7. from tasks.GameUi.default_pages import (
  8. page_act_list,
  9. page_area_boss,
  10. page_awake_zones,
  11. page_battle,
  12. page_battle_prepare,
  13. page_battle_result,
  14. page_bondling_fairyland,
  15. page_collection,
  16. page_daily,
  17. page_delegation,
  18. page_demon_encounter,
  19. page_demon_encounter_realworld,
  20. page_draft_duel,
  21. page_duel,
  22. page_entertainment,
  23. page_exploration,
  24. page_friends,
  25. page_goryou_realm,
  26. page_guild,
  27. page_heian_kitan,
  28. page_hero_test,
  29. page_hunt,
  30. page_hunt_kirin,
  31. page_hyakkiyakou,
  32. page_kekkai_toppa,
  33. page_login,
  34. page_main,
  35. page_mall,
  36. page_mall_recommend,
  37. page_onmyodo,
  38. page_touch_fish,
  39. page_realm_raid,
  40. page_reward,
  41. page_secret_zones,
  42. page_shikigami_records,
  43. page_six_gates,
  44. page_soul_zones,
  45. page_summon,
  46. page_team,
  47. page_town,
  48. page_travel,
  49. page_shirin,
  50. random_click,
  51. page_battle_team,
  52. page_battle_team_exit,
  53. page_pet
  54. )
  55. from tasks.GameUi.matcher import AllMatcher, AnyMatcher, AtomMatcher, Matcher, NotMatcher, all_of, any_of, ensure_matcher, not_
  56. from tasks.GameUi.page_definition import Page, Transition
  57. from tasks.GameUi.registry import PageRegistry
  58. __all__ = [
  59. "ActionSequence",
  60. "AllMatcher",
  61. "AnyMatcher",
  62. "AtomMatcher",
  63. "ConditionalAction",
  64. "Matcher",
  65. "NotMatcher",
  66. "Page",
  67. "PageRegistry",
  68. "Transition",
  69. "all_of",
  70. "any_of",
  71. "conditional_action",
  72. "ensure_matcher",
  73. "not_",
  74. "page_act_list",
  75. "page_area_boss",
  76. "page_awake_zones",
  77. "page_battle",
  78. "page_battle_prepare",
  79. "page_battle_result",
  80. "page_bondling_fairyland",
  81. "page_collection",
  82. "page_daily",
  83. "page_delegation",
  84. "page_demon_encounter",
  85. "page_demon_encounter_realworld",
  86. "page_draft_duel",
  87. "page_duel",
  88. "page_entertainment",
  89. "page_exploration",
  90. "page_friends",
  91. "page_goryou_realm",
  92. "page_guild",
  93. "page_heian_kitan",
  94. "page_hero_test",
  95. "page_hunt",
  96. "page_hunt_kirin",
  97. "page_hyakkiyakou",
  98. "page_kekkai_toppa",
  99. "page_login",
  100. "page_main",
  101. "page_mall",
  102. "page_mall_recommend",
  103. "page_onmyodo",
  104. "page_touch_fish",
  105. "page_realm_raid",
  106. "page_reward",
  107. "page_secret_zones",
  108. "page_shikigami_records",
  109. "page_six_gates",
  110. "page_soul_zones",
  111. "page_summon",
  112. "page_team",
  113. "page_town",
  114. "page_travel",
  115. "page_shirin",
  116. "random_click",
  117. "sequence",
  118. "page_battle_team",
  119. "page_battle_team_exit",
  120. "page_pet"
  121. ]