优化页面 点将台修改伙伴招募
parent
c048f7fcc5
commit
56ac16a528
|
|
@ -1788,7 +1788,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 1, 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_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &2872203341560254421
|
--- !u!114 &2872203341560254421
|
||||||
|
|
@ -7991,7 +7991,7 @@ MonoBehaviour:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
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_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -2527,7 +2527,7 @@ GENERAL_POPUP_TYPE={
|
||||||
TreasureCompound=5,--宝物合成
|
TreasureCompound=5,--宝物合成
|
||||||
GuildAid=6,--公会援助
|
GuildAid=6,--公会援助
|
||||||
GuildAidFindBoxReward=7,--公会援助查看宝箱奖励
|
GuildAidFindBoxReward=7,--公会援助查看宝箱奖励
|
||||||
RecruitBox=8,--点将台抽卡 奖励弹窗
|
RecruitBox=8,--伙伴招募抽卡 奖励弹窗
|
||||||
Onhook=9,--挂机属性提升
|
Onhook=9,--挂机属性提升
|
||||||
TrialSetting=10,--试练设置
|
TrialSetting=10,--试练设置
|
||||||
TrialXingYao=11, --试练性药
|
TrialXingYao=11, --试练性药
|
||||||
|
|
|
||||||
|
|
@ -1501,7 +1501,7 @@ function this.InitFuncShow(funcType)
|
||||||
--屏蔽天书密卷入口 改成false
|
--屏蔽天书密卷入口 改成false
|
||||||
Util.SetGray(this.btnTianShuMiJuan,false)
|
Util.SetGray(this.btnTianShuMiJuan,false)
|
||||||
end
|
end
|
||||||
--(百宝斋,点将台,锻器阁,化虚坛,竞技场,四元阵,灵兽山,送神祠,万象境)
|
--(百宝斋,伙伴招募,锻器阁,化虚坛,竞技场,四元阵,灵兽山,送神祠,万象境)
|
||||||
if funcType then
|
if funcType then
|
||||||
if this.operateIcon[funcType].name then
|
if this.operateIcon[funcType].name then
|
||||||
this.operateIcon[funcType].name:GetComponent("Text").text=GlobalSysConfig[funcType].Name
|
this.operateIcon[funcType].name:GetComponent("Text").text=GlobalSysConfig[funcType].Name
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ local contentScripts = {
|
||||||
[GENERAL_POPUP_TYPE.GuildAid]= {view=require("Modules/Popup/View/GeneralPopup_GuildAid"),panelName="GeneralPopup_GuildAid"},
|
[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.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.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"},
|
[GENERAL_POPUP_TYPE.Onhook]= {view=require("Modules/Popup/View/GeneralPopup_Onhook"),panelName="GeneralPopup_Onhook"},
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ function ChangeHeroProConfirmWindow:OnOpen(...)
|
||||||
|
|
||||||
local go=Util.GetGameObject(this.btn,"Go")
|
local go=Util.GetGameObject(this.btn,"Go")
|
||||||
local var
|
local var
|
||||||
--点将台抽卡
|
--伙伴招募抽卡
|
||||||
if _args[1] == CostConfirmType.ChangeHeroPro then
|
if _args[1] == CostConfirmType.ChangeHeroPro then
|
||||||
var=PlayerManager.uid.."GeneralPopup_ChangeHeroProConfirm"
|
var=PlayerManager.uid.."GeneralPopup_ChangeHeroProConfirm"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
----- 点将台抽卡 宝箱弹窗 -----
|
----- 伙伴招募抽卡 宝箱弹窗 -----
|
||||||
local this = {}
|
local this = {}
|
||||||
--传入父脚本模块
|
--传入父脚本模块
|
||||||
local parent
|
local parent
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ function this:OnShow(_parent,...)
|
||||||
this.titleText.text=Language[11309]
|
this.titleText.text=Language[11309]
|
||||||
local go=Util.GetGameObject(this.btn,"Go")
|
local go=Util.GetGameObject(this.btn,"Go")
|
||||||
local var
|
local var
|
||||||
--点将台抽卡
|
--伙伴招募抽卡
|
||||||
if _args[1] == RecruitType.Single then
|
if _args[1] == RecruitType.Single then
|
||||||
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten
|
var=PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten
|
||||||
local d=RecruitManager.GetExpendData(RecruitType.Single)
|
local d=RecruitManager.GetExpendData(RecruitType.Single)
|
||||||
|
|
|
||||||
|
|
@ -486,7 +486,7 @@ local bType={
|
||||||
Btn10=2
|
Btn10=2
|
||||||
}
|
}
|
||||||
|
|
||||||
--点将台红点状态
|
--伙伴招募红点状态
|
||||||
function this.GetAllRecruitBtnRedpoint(red)
|
function this.GetAllRecruitBtnRedpoint(red)
|
||||||
local index = {}
|
local index = {}
|
||||||
if red==RedPointType.Recruit_Friend and CheckFunctionOpen(FUNCTION_OPEN_TYPE.EquipWish)==false then
|
if red==RedPointType.Recruit_Friend and CheckFunctionOpen(FUNCTION_OPEN_TYPE.EquipWish)==false then
|
||||||
|
|
@ -509,7 +509,7 @@ function this.GetAllRecruitBtnRedpoint(red)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
--点将台六个按钮各自红点状态
|
--伙伴招募六个按钮各自红点状态
|
||||||
function this.GetRecruitBtnRedpoint1(preConfig)
|
function this.GetRecruitBtnRedpoint1(preConfig)
|
||||||
if preConfig.privilegeId and preConfig.privilegeId > 0 then--普通召唤单抽 神将召唤单抽
|
if preConfig.privilegeId and preConfig.privilegeId > 0 then--普通召唤单抽 神将召唤单抽
|
||||||
return PrivilegeManager.GetPrivilegeRemainValue(preConfig.privilegeId) >= 1
|
return PrivilegeManager.GetPrivilegeRemainValue(preConfig.privilegeId) >= 1
|
||||||
|
|
@ -524,7 +524,7 @@ function this.GetRecruitBtnRedpoint1(preConfig)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
--点将台六个按钮各自红点状态
|
--伙伴招募六个按钮各自红点状态
|
||||||
function this.GetRecruitBtnRedpoint(recruitType,privilegeId)--privilegeId 单抽免费特权次数
|
function this.GetRecruitBtnRedpoint(recruitType,privilegeId)--privilegeId 单抽免费特权次数
|
||||||
if recruitType == RecruitType.NormalSingle or recruitType == RecruitType.Single then--普通召唤单抽 神将召唤单抽
|
if recruitType == RecruitType.NormalSingle or recruitType == RecruitType.Single then--普通召唤单抽 神将召唤单抽
|
||||||
if privilegeId then
|
if privilegeId then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue