UICfg.ts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /** @format */
  2. import {UI} from '../enums/UI'
  3. /** UI配置结构体 */
  4. export interface IUIConfig {
  5. url: string
  6. fadeIn?: boolean
  7. }
  8. let uiCfg = new Map<UI, IUIConfig>()
  9. uiCfg.set(UI.TipUI, {url: 'public/TipUI'})
  10. uiCfg.set(UI.MessageUI, {url: 'public/MessageUI'})
  11. uiCfg.set(UI.RewardUI, {url: 'public/RewardUI'})
  12. uiCfg.set(UI.GameDevUI, {url: 'GameDevUI'})
  13. uiCfg.set(UI.LoginUI, {url: 'LoginUI'})
  14. uiCfg.set(UI.MainUI, {url: 'MainUI'})
  15. uiCfg.set(UI.TalentUI, {url: 'TalentUI'})
  16. uiCfg.set(UI.StageUI, {url: 'StageUI'})
  17. uiCfg.set(UI.EmailUI, {url: 'EmailUI'})
  18. uiCfg.set(UI.TaskUI, {url: 'TaskUI'})
  19. uiCfg.set(UI.SettingUI, {url: 'SettingUI'})
  20. uiCfg.set(UI.UserInfoUI, {url: 'UserInfoUI'})
  21. uiCfg.set(UI.RecruitUI, {url: 'RecruitUI'})
  22. uiCfg.set(UI.TeamUI, {url: 'TeamUI'})
  23. uiCfg.set(UI.RoleUI, {url: 'RoleUI'})
  24. uiCfg.set(UI.RoleResetUI, {url: 'RoleResetUI'})
  25. uiCfg.set(UI.RoleBreakUI, {url: 'RoleBreakUI'})
  26. uiCfg.set(UI.RoleBreakSuccessUI, {url: 'RoleBreakSuccessUI'})
  27. uiCfg.set(UI.EquipUI, {url: 'EquipUI'})
  28. uiCfg.set(UI.EquipDetailUI, {url: 'EquipDetailUI'})
  29. uiCfg.set(UI.EquipResetUI, {url: 'EquipResetUI'})
  30. uiCfg.set(UI.EquipBreakUI, {url: 'EquipBreakUI'})
  31. uiCfg.set(UI.EquipBreakSuccessUI, {url: 'EquipBreakSuccessUI'})
  32. uiCfg.set(UI.EquipAttrUI, {url: 'EquipAttrUI'})
  33. uiCfg.set(UI.RoleUpgradeUI, {url: 'RoleUpgradeUI'})
  34. uiCfg.set(UI.AnnouncementUI, {url: 'AnnouncementUI'})
  35. uiCfg.set(UI.RankListUI, {url: 'RankListUI'})
  36. uiCfg.set(UI.GameResultUI, {url: 'GameResultUI'})
  37. uiCfg.set(UI.ObtainChannelUI, {url: 'public/ObtainChannelUI'})
  38. uiCfg.set(UI.ShopUI, {url: 'ShopUI'})
  39. uiCfg.set(UI.RuleUI, {url: 'public/RuleUI'})
  40. uiCfg.set(UI.RecruitPublicityUI, {url: 'RecruitPublicityUI'})
  41. uiCfg.set(UI.ItemDetailsUI, {url: 'public/ItemDetailsUI'})
  42. uiCfg.set(UI.LoadingUI, {url: 'public/LoadingUI'})
  43. uiCfg.set(UI.GameLoadingUI, {url: 'GameLoadingUI'})
  44. uiCfg.set(UI.UserGuideUI, {url: 'UserGuideUI'})
  45. uiCfg.set(UI.ModOpenUI, {url: 'ModOpenUI'})
  46. uiCfg.set(UI.PowerUpUI, {url: 'PowerUpUI'})
  47. uiCfg.set(UI.OnlineRewardUI, {url: 'OnlineRewardUI'})
  48. uiCfg.set(UI.GameSpeedUI, {url: 'GameSpeedUI'})
  49. uiCfg.set(UI.ServerUI, {url: 'ServerUI'})
  50. uiCfg.set(UI.ZumaUI, {url: 'ZumaUI'})
  51. export const UICfg = uiCfg