添加一个gm 功能的新手引导
parent
d3efa809d8
commit
1e19dfe3d5
|
|
@ -38,7 +38,6 @@ function this.HongMengGuideFun(OnOff)
|
||||||
-- end
|
-- end
|
||||||
-- end
|
-- end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
function this.OnLevelChange()
|
function this.OnLevelChange()
|
||||||
-- 首充引导特殊处理到十级开放
|
-- 首充引导特殊处理到十级开放
|
||||||
|
|
@ -47,6 +46,22 @@ function this.OnLevelChange()
|
||||||
this.CheckFuncGuide()
|
this.CheckFuncGuide()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
--gm 用
|
||||||
|
function this.AddFuncGuide(funcId)
|
||||||
|
if not funcId then return end
|
||||||
|
LogGreen(funcId.."funcId")
|
||||||
|
if not AppConst.isGuide then
|
||||||
|
LogGreen("不在引导内")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
local guideId = GlobalSystemConfig[funcId].GuideId
|
||||||
|
if guideId and guideId ~= 0 then
|
||||||
|
table.insert(_FuncGuideList, guideId)
|
||||||
|
end
|
||||||
|
LogGreen("guideId:"..guideId)
|
||||||
|
GuideManager.ShowGuide(guideId)
|
||||||
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
function this.OnFunctionOpen(funcId)
|
function this.OnFunctionOpen(funcId)
|
||||||
if not funcId then return end
|
if not funcId then return end
|
||||||
|
|
@ -64,6 +79,8 @@ function this.OnFunctionOpen(funcId)
|
||||||
this.CheckFuncGuide()
|
this.CheckFuncGuide()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- 将引导加入引导队列
|
-- 将引导加入引导队列
|
||||||
function this.TestFuncGuide(guideId)
|
function this.TestFuncGuide(guideId)
|
||||||
if funcDic[guideId] then
|
if funcDic[guideId] then
|
||||||
|
|
|
||||||
|
|
@ -521,8 +521,8 @@ function RewardItemPopup:ItemDataListSort(itemDataList)
|
||||||
end
|
end
|
||||||
--界面关闭时调用(用于子类重写)
|
--界面关闭时调用(用于子类重写)
|
||||||
function RewardItemPopup:OnClose()
|
function RewardItemPopup:OnClose()
|
||||||
compShowType = 0
|
|
||||||
if compShowType == CompShowType.fourElement then
|
if compShowType == CompShowType.fourElement then
|
||||||
|
compShowType = 0
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
BagManager.SetDropIsSHowEquipPrint(true)
|
BagManager.SetDropIsSHowEquipPrint(true)
|
||||||
|
|
@ -540,6 +540,7 @@ function RewardItemPopup:OnClose()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if func and not isPopGetSSR then
|
if func and not isPopGetSSR then
|
||||||
if fightConFigData and fightConFigData.PicShow == 1 and FightPointPassManager.isOpenNewChapter then
|
if fightConFigData and fightConFigData.PicShow == 1 and FightPointPassManager.isOpenNewChapter then
|
||||||
func(isBackBattle)
|
func(isBackBattle)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue