UICfg.ts 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.GameUI, {url: 'GameUI'})
  13. uiCfg.set(UI.GameDevUI, {url: 'GameDevUI'})
  14. uiCfg.set(UI.LoginUI, {url: 'LoginUI'})
  15. uiCfg.set(UI.CurrencyUI, {url: 'public/CurrencyUI'})
  16. uiCfg.set(UI.TalentUI, {url: 'TalentUI'})
  17. uiCfg.set(UI.StageChooseUI, {url: 'StageChooseUI'})
  18. uiCfg.set(UI.EmailUI, {url: 'EmailUI'})
  19. uiCfg.set(UI.TaskUI, {url: 'TaskUI'})
  20. uiCfg.set(UI.SettingUI, {url: 'SettingUI'})
  21. uiCfg.set(UI.UserInfoUI, {url: 'UserInfoUI'})
  22. uiCfg.set(UI.RecruitUI, {url: 'RecruitUI'})
  23. uiCfg.set(UI.TeamUI, {url: 'TeamUI'})
  24. uiCfg.set(UI.RoleUI, {url: 'RoleUI'})
  25. uiCfg.set(UI.RoleExchangeUI, {url: 'RoleExchangeUI'})
  26. uiCfg.set(UI.RoleResetUI, {url: 'RoleResetUI'})
  27. uiCfg.set(UI.RoleBreakUI, {url: 'RoleBreakUI'})
  28. uiCfg.set(UI.RoleBreakSuccessUI, {url: 'RoleBreakSuccessUI'})
  29. uiCfg.set(UI.EquipUI, {url: 'EquipUI'})
  30. uiCfg.set(UI.EquipDetailUI, {url: 'EquipDetailUI'})
  31. uiCfg.set(UI.EquipResetUI, {url: 'EquipResetUI'})
  32. uiCfg.set(UI.EquipBreakUI, {url: 'EquipBreakUI'})
  33. uiCfg.set(UI.EquipBreakSuccessUI, {url: 'EquipBreakSuccessUI'})
  34. uiCfg.set(UI.EquipAttrUI, {url: 'EquipAttrUI'})
  35. uiCfg.set(UI.RoleUpgradeUI, {url: 'RoleUpgradeUI'})
  36. uiCfg.set(UI.AnnouncementUI, {url: 'AnnouncementUI'})
  37. uiCfg.set(UI.RankListUI, {url: 'RankListUI'})
  38. uiCfg.set(UI.GameResultUI, {url: 'GameResultUI'})
  39. uiCfg.set(UI.ObtainChannelUI, {url: 'public/ObtainChannelUI'})
  40. uiCfg.set(UI.ShopUI, {url: 'ShopUI'})
  41. uiCfg.set(UI.RuleUI, {url: 'public/RuleUI'})
  42. uiCfg.set(UI.RecruitPublicityUI, {url: 'RecruitPublicityUI'})
  43. uiCfg.set(UI.ItemDetailsUI, {url: 'public/ItemDetailsUI'})
  44. uiCfg.set(UI.LoadingUI, {url: 'public/LoadingUI'})
  45. uiCfg.set(UI.GameLoadingUI, {url: 'GameLoadingUI'})
  46. uiCfg.set(UI.UserGuideUI, {url: 'UserGuideUI'})
  47. uiCfg.set(UI.ModOpenUI, {url: 'ModOpenUI'})
  48. uiCfg.set(UI.PowerUpUI, {url: 'PowerUpUI'})
  49. uiCfg.set(UI.OnlineRewardUI, {url: 'OnlineRewardUI'})
  50. uiCfg.set(UI.GameSpeedUI, {url: 'GameSpeedUI'})
  51. uiCfg.set(UI.ServerUI, {url: 'ServerUI'})
  52. uiCfg.set(UI.ZumaUI, {url: 'ZumaUI'})
  53. export const UICfg = uiCfg