xiyou_sanguo
parent
930cb288a8
commit
da754589db
|
|
@ -1569,6 +1569,7 @@ ActivityTypeDef = {
|
|||
ExclusiveWeapon = 125, --专属武器
|
||||
zeroPointOneGift = 126, --零点一礼包
|
||||
fabaojuling = 127, --法宝巨灵
|
||||
fabaojulingzhaomu = 156, --法宝巨灵招募
|
||||
}
|
||||
--活动结束需要处理面板关闭类型
|
||||
ActivityTypePanel = {
|
||||
|
|
@ -2689,6 +2690,7 @@ TableRecruitType = {
|
|||
Shenjiang = 1,
|
||||
Siyuanzhen = 2,
|
||||
xianyuan = 6,
|
||||
Fabaojulingzhaomu = 15,
|
||||
}
|
||||
|
||||
--抽卡类型(读取数据 ,自己定义的)
|
||||
|
|
|
|||
|
|
@ -318,6 +318,7 @@ end
|
|||
function this.IsQualifiled(id)
|
||||
-- 相同类型活动解锁类型相同,所以只判断第一个
|
||||
local data = this.GetTableDataByTypeId(id)[1]
|
||||
|
||||
if not data then return false end
|
||||
if data.IsOpen == 0 then
|
||||
--Log("此功能不在版本范围内!")
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ function this:BindEvent()
|
|||
end)
|
||||
|
||||
Util.AddClick(this.beianBtn, function()
|
||||
OpenWeb("https://beian.miit.gov.cn/#/Integrated/recordQuery")
|
||||
OpenWeb("https://beian.miit.gov.cn/#/home")
|
||||
end)
|
||||
Util.AddClick(this.ConfirmBtn, function()
|
||||
local confirm = PlayerPrefs.GetInt("IHaveConfirmProtos")
|
||||
|
|
|
|||
|
|
@ -1237,6 +1237,7 @@ function this.SetRightBarSize()
|
|||
end
|
||||
|
||||
function this:TabBtnAction(id, actType, data)
|
||||
LogError("ssssssssssssssssssssss" .. tostring(id) .. "/" .. tostring(actType))
|
||||
if actType == 1 then
|
||||
if id == ActivityTypeDef.FirstRecharge then
|
||||
-- if PlayerPrefs.GetInt(PlayerManager.uid.."isGMEsp")==0 then
|
||||
|
|
@ -1371,6 +1372,8 @@ function this:TabBtnAction(id, actType, data)
|
|||
UIManager.OpenPanel(UIName.ActivityMainPanel, id)
|
||||
elseif id == 40 then
|
||||
UIManager.OpenPanel(UIName.ActivityMainPanel, id)
|
||||
elseif id == FUNCTION_OPEN_TYPE.Fabaojulingxinyuan then
|
||||
UIManager.OpenPanel(UIName.RecruitMainPanel, TableRecruitType.Fabaojulingzhaomu)
|
||||
elseif id == FUNCTION_OPEN_TYPE.LUCKYTURN then
|
||||
UIManager.OpenPanel(UIName.LuckyTurnTablePanel)
|
||||
elseif id == FUNCTION_OPEN_TYPE.Achiecement then
|
||||
|
|
@ -2006,10 +2009,6 @@ function this.RefreshActivityShow()
|
|||
end
|
||||
elseif v.ActiveType > 0 then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||
if activityTabs[k].go.gameObject.name == "tab12201" then
|
||||
LogError("ssssssssssssssssssssssssssssssssssssss" ..
|
||||
tostring(activityId) .. "/" .. tostring(ActivityGiftManager.IsQualifiled(v.ActiveType)))
|
||||
end
|
||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then
|
||||
if v.ActiveType == 42 then
|
||||
if ActivityGiftManager.CheckSupremeMission(1, true)
|
||||
|
|
@ -2034,9 +2033,6 @@ function this.RefreshActivityShow()
|
|||
showTab = false
|
||||
end
|
||||
elseif v.FunType > 0 then
|
||||
if v.Id == 244 then
|
||||
LogError("999999" .. "v.FunType==" .. v.FunType)
|
||||
end
|
||||
if ActTimeCtrlManager.SingleFuncState(v.FunType) then
|
||||
showTab = true
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue