/** @format */ import {UI} from '../enums/UI' /** UI配置结构体 */ export interface IUIConfig { url: string fadeIn?: boolean } let uiCfg = new Map() uiCfg.set(UI.TipUI, {url: 'public/TipUI'}) uiCfg.set(UI.MessageUI, {url: 'public/MessageUI'}) uiCfg.set(UI.RewardUI, {url: 'public/RewardUI'}) uiCfg.set(UI.GameDevUI, {url: 'GameDevUI'}) uiCfg.set(UI.LoginUI, {url: 'LoginUI'}) uiCfg.set(UI.MainUI, {url: 'MainBottomUI'}) uiCfg.set(UI.TalentUI, {url: 'TalentUI'}) uiCfg.set(UI.StageUI, {url: 'StageUI'}) uiCfg.set(UI.EmailUI, {url: 'EmailUI'}) uiCfg.set(UI.TaskUI, {url: 'TaskUI'}) uiCfg.set(UI.SettingUI, {url: 'SettingUI'}) uiCfg.set(UI.UserInfoUI, {url: 'UserInfoUI'}) uiCfg.set(UI.RecruitUI, {url: 'RecruitUI'}) uiCfg.set(UI.TeamUI, {url: 'TeamUI'}) uiCfg.set(UI.RoleUI, {url: 'RoleUI'}) uiCfg.set(UI.RoleExchangeUI, {url: 'RoleExchangeUI'}) uiCfg.set(UI.RoleResetUI, {url: 'RoleResetUI'}) uiCfg.set(UI.RoleBreakUI, {url: 'RoleBreakUI'}) uiCfg.set(UI.RoleBreakSuccessUI, {url: 'RoleBreakSuccessUI'}) uiCfg.set(UI.EquipUI, {url: 'EquipUI'}) uiCfg.set(UI.EquipDetailUI, {url: 'EquipDetailUI'}) uiCfg.set(UI.EquipResetUI, {url: 'EquipResetUI'}) uiCfg.set(UI.EquipBreakUI, {url: 'EquipBreakUI'}) uiCfg.set(UI.EquipBreakSuccessUI, {url: 'EquipBreakSuccessUI'}) uiCfg.set(UI.EquipAttrUI, {url: 'EquipAttrUI'}) uiCfg.set(UI.RoleUpgradeUI, {url: 'RoleUpgradeUI'}) uiCfg.set(UI.AnnouncementUI, {url: 'AnnouncementUI'}) uiCfg.set(UI.RankListUI, {url: 'RankListUI'}) uiCfg.set(UI.GameResultUI, {url: 'GameResultUI'}) uiCfg.set(UI.ObtainChannelUI, {url: 'public/ObtainChannelUI'}) uiCfg.set(UI.ShopUI, {url: 'ShopUI'}) uiCfg.set(UI.RuleUI, {url: 'public/RuleUI'}) uiCfg.set(UI.RecruitPublicityUI, {url: 'RecruitPublicityUI'}) uiCfg.set(UI.ItemDetailsUI, {url: 'public/ItemDetailsUI'}) uiCfg.set(UI.LoadingUI, {url: 'public/LoadingUI'}) uiCfg.set(UI.GameLoadingUI, {url: 'GameLoadingUI'}) uiCfg.set(UI.UserGuideUI, {url: 'UserGuideUI'}) uiCfg.set(UI.ModOpenUI, {url: 'ModOpenUI'}) uiCfg.set(UI.PowerUpUI, {url: 'PowerUpUI'}) uiCfg.set(UI.OnlineRewardUI, {url: 'OnlineRewardUI'}) uiCfg.set(UI.GameSpeedUI, {url: 'GameSpeedUI'}) uiCfg.set(UI.ServerUI, {url: 'ServerUI'}) uiCfg.set(UI.ZumaUI, {url: 'ZumaUI'}) export const UICfg = uiCfg