2025-01-08 22:46:12 +08:00

120 lines
5.1 KiB
Lua

UIConfig = UIConfig or {}
UIConfig.General = {
----------------------Notice----------------------
[EUIType.Notice] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_NoticeLayer.WBP_NoticeLayer_C'),
Root = UIRoot.CommonNoticeRoot,
},
--------------------Settlement--------------------
[EUIType.Settlement] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_SettlementPanel.WBP_SettlementPanel_C'),
Root = UIRoot.SettlementRoot,
},
----------------------Battle----------------------
[EUIType.Main] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_MainUI.WBP_MainUI_C'),
Root = UIRoot.BattleRoot,
},
[EUIType.SkillButton] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/Skill/WBP_SkillBtn.WBP_SkillBtn_C'),
Root = UIRoot.BattleRoot,
},
----------------------Middle----------------------
[EUIType.SelectDifficulty] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_SelectDifficultyPanel.WBP_SelectDifficultyPanel_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.SelectSkill] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_SelectSkill.WBP_SelectSkill_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.Attribute] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_AttributePanel.WBP_AttributePanel_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.Backpack] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_Bag.WBP_Bag_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.SelectWeapon] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_SelectWeaponPanel.WBP_SelectWeaponPanel_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.BossInfo] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_BossInfoPanel_V2.WBP_BossInfoPanel_V2_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.Unpacking] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_Unpacking.WBP_Unpacking_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.WeaponDetailsDesc] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_WeaponDetailsDesc.WBP_WeaponDetailsDesc_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.WeaponAttribute] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_WeaponAttribute.WBP_WeaponAttribute_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.Challenge] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_Challenge_V2.WBP_Challenge_V2_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.SealRewards] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_SealRewards.WBP_SealRewards_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.Inherit] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/ChildWidgets/WBP_InheritPanel.WBP_InheritPanel_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.ResourceGrade] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_ResourceGrade.WBP_ResourceGrade_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.SaveGame] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_SaveGamePanel.WBP_SaveGamePanel_C'),
Root = UIRoot.MiddleRoot,
},
[EUIType.Tech] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_TechnologyPanel.WBP_TechnologyPanel_C'),
Root = UIRoot.MiddleRoot,
},
----------------------Common----------------------
[EUIType.UseSkill] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/ChildWidgets/WBP_SelectSkillSlots.WBP_SelectSkillSlots_C'),
Root = UIRoot.CommonRoot,
},
[EUIType.DifficultInfo] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/WBP_DifficultInfo.WBP_DifficultInfo_C'),
Root = UIRoot.CommonRoot,
},
----------------------Guide-----------------------
[EUIType.GeneralGuide] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/Guide/WBP_GuideTips_0.WBP_GuideTips_0_C'),
Root = UIRoot.GeneralGuideRoot,
},
[EUIType.ForceGuide] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/Guide/WBP_ForceGuidePanel.WBP_ForceGuidePanel_C'),
Root = UIRoot.GeneralGuideRoot,
},
----------------------GM--------------------------
[EUIType.GM] = {
WidgetClassPath = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/GM/WBP_GM.WBP_GM_C'),
Root = UIRoot.GeneralGuideRoot,
},
}
UIConfig.Guide = {
[EGuideWidgetType.Square] = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/Guide/WBP_GuideTips_1.WBP_GuideTips_1_C'),
[EGuideWidgetType.Round] = UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/Guide/WBP_GuideTips_2.WBP_GuideTips_2_C'),
}
return UIConfig