You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 line
804 B

  1. ---
  2. -- ================================================================
  3. -- 文件名: IGameOverAward.lua
  4. -- 描述: 排名赛抽奖接口
  5. -- 版权: Copyright © 2016-2019 公司名称 版权所有
  6. -- 作者: Administrator
  7. -- 创建日期: 2019-10-22
  8. -- 更新日期: 2019-10-22
  9. -- 备注:
  10. -- ================================================================
  11. --
  12. local IGameOverAward = {}
  13. IGameOverAward.chouJiangData = nil
  14. function IGameOverAward.setAwardData(data)
  15. IGameOverAward.chouJiangData = data
  16. end
  17. function IGameOverAward.showAwardView()
  18. if not IGameOverAward.chouJiangData then
  19. return
  20. end
  21. local view = import("luaScript.Views.Club.Match.ClubMatchChouJiang"):new(IGameOverAward.chouJiangData)
  22. view:setAnchorPoint(cc.p(0.5, 0.5))
  23. app:showWaitDialog(view)
  24. end
  25. return IGameOverAward