mall.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This Python file uses the following encoding: utf-8
  2. # @author runhey
  3. # github https://github.com/runhey
  4. from module.logger import logger
  5. from tasks.RichMan.mall.special import Special
  6. from tasks.RichMan.mall.honor import Honor
  7. from tasks.RichMan.mall.friendship_points import FriendshipPoints
  8. from tasks.RichMan.mall.medal import Medal
  9. from tasks.RichMan.mall.charisma import Charisma
  10. from tasks.RichMan.mall.consignment import Consignment
  11. from tasks.RichMan.mall.scales import Scales
  12. from tasks.RichMan.mall.bondlings import Bondlings
  13. from tasks.GameUi.page import page_main, page_mall
  14. class Mall(Special, Honor, FriendshipPoints, Medal, Charisma, Consignment, Scales, Bondlings):
  15. def execute_mall(self):
  16. logger.hr('Mall', 1)
  17. self.ui_get_current_page()
  18. self.ui_goto(page_mall, confirm_wait=4)
  19. # 寄售屋
  20. self.execute_consignment()
  21. # 蛇皮
  22. self.execute_scales()
  23. # 契灵
  24. self.execute_bondlings()
  25. # 杂货铺
  26. self.execute_honor()
  27. self.execute_friendship()
  28. self.execute_medal()
  29. self.execute_charisma()
  30. # 退出
  31. self.back_mall()