优化页面 点将台修改伙伴招募

PC-202302260912\Administrator 2024-09-16 11:55:15 +08:00
parent c048f7fcc5
commit 56ac16a528
9 changed files with 449 additions and 401 deletions

View File

@ -1788,7 +1788,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0.00005273559}
m_AnchoredPosition: {x: 0, y: -0.000008223846}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2872203341560254421
@ -7991,7 +7991,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: d88bb424f6d4aec44b536dd9ffa05b78, type: 3}
m_Sprite: {fileID: 21300000, guid: b6e6ed2b954898c47852477fae232b89, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

View File

@ -2527,7 +2527,7 @@ GENERAL_POPUP_TYPE={
TreasureCompound=5,--宝物合成
GuildAid=6,--公会援助
GuildAidFindBoxReward=7,--公会援助查看宝箱奖励
RecruitBox=8,--点将台抽卡 奖励弹窗
RecruitBox=8,--伙伴招募抽卡 奖励弹窗
Onhook=9,--挂机属性提升
TrialSetting=10,--试练设置
TrialXingYao=11, --试练性药

View File

@ -1501,7 +1501,7 @@ function this.InitFuncShow(funcType)
--屏蔽天书密卷入口 改成false
Util.SetGray(this.btnTianShuMiJuan,false)
end
--(百宝斋,点将台,锻器阁,化虚坛,竞技场,四元阵,灵兽山,送神祠,万象境)
--(百宝斋,伙伴招募,锻器阁,化虚坛,竞技场,四元阵,灵兽山,送神祠,万象境)
if funcType then
if this.operateIcon[funcType].name then
this.operateIcon[funcType].name:GetComponent("Text").text=GlobalSysConfig[funcType].Name

View File

@ -19,7 +19,7 @@ local contentScripts = {
[GENERAL_POPUP_TYPE.GuildAid]= {view=require("Modules/Popup/View/GeneralPopup_GuildAid"),panelName="GeneralPopup_GuildAid"},
--公会援助查看宝箱奖励
[GENERAL_POPUP_TYPE.GuildAidFindBoxReward]= {view=require("Modules/Popup/View/GeneralPopup_GuildAidFindBoxReward"),panelName="GeneralPopup_GuildAidFindBoxReward"},
--点将台抽卡 奖励弹窗
--伙伴招募抽卡 奖励弹窗
[GENERAL_POPUP_TYPE.RecruitBox]= {view=require("Modules/Popup/View/GeneralPopup_RecruitBox"),panelName="GeneralPopup_RecruitBox"},
--挂机属性提升
[GENERAL_POPUP_TYPE.Onhook]= {view=require("Modules/Popup/View/GeneralPopup_Onhook"),panelName="GeneralPopup_Onhook"},

View File

@ -60,7 +60,7 @@ function ChangeHeroProConfirmWindow:OnOpen(...)
local go=Util.GetGameObject(this.btn,"Go")
local var
--点将台抽卡
--伙伴招募抽卡
if _args[1] == CostConfirmType.ChangeHeroPro then
var=PlayerManager.uid.."GeneralPopup_ChangeHeroProConfirm"
end

View File

@ -1,4 +1,4 @@
----- 点将台抽卡 宝箱弹窗 -----
----- 伙伴招募抽卡 宝箱弹窗 -----
local this = {}
--传入父脚本模块
local parent

View File

@ -45,7 +45,7 @@ function this:OnShow(_parent,...)
this.titleText.text=Language[11309]
local go=Util.GetGameObject(this.btn,"Go")
local var
--点将台抽卡
--伙伴招募抽卡
if _args[1] == RecruitType.Single then
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten
local d=RecruitManager.GetExpendData(RecruitType.Single)

View File

@ -486,7 +486,7 @@ local bType={
Btn10=2
}
--点将台红点状态
--伙伴招募红点状态
function this.GetAllRecruitBtnRedpoint(red)
local index = {}
if red==RedPointType.Recruit_Friend and CheckFunctionOpen(FUNCTION_OPEN_TYPE.EquipWish)==false then
@ -509,7 +509,7 @@ function this.GetAllRecruitBtnRedpoint(red)
return false
end
--点将台六个按钮各自红点状态
--伙伴招募六个按钮各自红点状态
function this.GetRecruitBtnRedpoint1(preConfig)
if preConfig.privilegeId and preConfig.privilegeId > 0 then--普通召唤单抽 神将召唤单抽
return PrivilegeManager.GetPrivilegeRemainValue(preConfig.privilegeId) >= 1
@ -524,7 +524,7 @@ function this.GetRecruitBtnRedpoint1(preConfig)
return false
end
--点将台六个按钮各自红点状态
--伙伴招募六个按钮各自红点状态
function this.GetRecruitBtnRedpoint(recruitType,privilegeId)--privilegeId 单抽免费特权次数
if recruitType == RecruitType.NormalSingle or recruitType == RecruitType.Single then--普通召唤单抽 神将召唤单抽
if privilegeId then