【连点】车迟斗法,十绝阵一类的玩法,快速点击进入战斗,会直接扣两个次数
parent
550ae985be
commit
bd79f13e27
|
@ -60,15 +60,15 @@ end
|
||||||
|
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
function GuildCarDelayMainPanel:BindEvent()
|
function GuildCarDelayMainPanel:BindEvent()
|
||||||
Util.AddClick(this.BackBtn, function()
|
Util.AddOnceClick(this.BackBtn, function()
|
||||||
this:ClosePanel()
|
this:ClosePanel()
|
||||||
end)
|
end)
|
||||||
--奖励排行
|
--奖励排行
|
||||||
Util.AddClick(this.rewardSortBtn, function()
|
Util.AddOnceClick(this.rewardSortBtn, function()
|
||||||
UIManager.OpenPanel(UIName.GuildCarDelayRewardSortPopup)
|
UIManager.OpenPanel(UIName.GuildCarDelayRewardSortPopup)
|
||||||
end)
|
end)
|
||||||
--抢夺记录
|
--抢夺记录
|
||||||
Util.AddClick(this.lootRecordBtn, function()
|
Util.AddOnceClick(this.lootRecordBtn, function()
|
||||||
NetManager.CarGrapRecordResponse(function (msg)
|
NetManager.CarGrapRecordResponse(function (msg)
|
||||||
--for i = 1, #msg.carChallengeItem do
|
--for i = 1, #msg.carChallengeItem do
|
||||||
-- LogError("content "..msg.carChallengeItem[i].content)
|
-- LogError("content "..msg.carChallengeItem[i].content)
|
||||||
|
@ -77,7 +77,7 @@ function GuildCarDelayMainPanel:BindEvent()
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
--挑战
|
--挑战
|
||||||
Util.AddClick(this.challengeBtn, function()
|
Util.AddOnceClick(this.challengeBtn, function()
|
||||||
if curProgress ~= 1 then
|
if curProgress ~= 1 then
|
||||||
PopupTipPanel.ShowTip(Language[11008])
|
PopupTipPanel.ShowTip(Language[11008])
|
||||||
return
|
return
|
||||||
|
@ -97,7 +97,7 @@ function GuildCarDelayMainPanel:BindEvent()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
--抢夺
|
--抢夺
|
||||||
Util.AddClick(this.lootBtn, function()
|
Util.AddOnceClick(this.lootBtn, function()
|
||||||
if curProgress ~= 3 then
|
if curProgress ~= 3 then
|
||||||
PopupTipPanel.ShowTip(Language[11011])
|
PopupTipPanel.ShowTip(Language[11011])
|
||||||
return
|
return
|
||||||
|
@ -118,11 +118,11 @@ function GuildCarDelayMainPanel:BindEvent()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
--帮助按钮
|
--帮助按钮
|
||||||
Util.AddClick(this.HelpBtn, function()
|
Util.AddOnceClick(this.HelpBtn, function()
|
||||||
UIManager.OpenPanel(UIName.HelpPopup,HELP_TYPE.GuildCarDelay,this.helpPosition.x,this.helpPosition.y)
|
UIManager.OpenPanel(UIName.HelpPopup,HELP_TYPE.GuildCarDelay,this.helpPosition.x,this.helpPosition.y)
|
||||||
end)
|
end)
|
||||||
-- --boss详情
|
-- --boss详情
|
||||||
-- Util.AddClick(this.live2dRoot, function()
|
-- Util.AddOnceClick(this.live2dRoot, function()
|
||||||
-- UIManager.OpenPanel(UIName.GuildCarDelayFindBossPopup)
|
-- UIManager.OpenPanel(UIName.GuildCarDelayFindBossPopup)
|
||||||
-- end)
|
-- end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue