挑战副本修改
parent
bd3bed7e41
commit
f8f14d06e9
|
@ -125,7 +125,7 @@ end
|
||||||
function ChallengeCopyPanel:RefreshRedPotShow()
|
function ChallengeCopyPanel:RefreshRedPotShow()
|
||||||
local tabs = Util.GetGameObject(this.tabBox,"box").transform
|
local tabs = Util.GetGameObject(this.tabBox,"box").transform
|
||||||
for i = 1,tabs.childCount do
|
for i = 1,tabs.childCount do
|
||||||
Util.GetGameObject(tabs:GetChild(i-1),"Redpot").gameObject:SetActive(freeTime>0)
|
Util.GetGameObject(tabs:GetChild(i-1),"Redpot").gameObject:SetActive(CarbonManager.challengeCopyDataTable[i].openState==1 and freeTime>0)
|
||||||
end
|
end
|
||||||
CheckRedPointStatus(RedPointType.HeroExplore)
|
CheckRedPointStatus(RedPointType.HeroExplore)
|
||||||
end
|
end
|
||||||
|
|
|
@ -128,7 +128,7 @@ function this.RegisterMessage(network)
|
||||||
|
|
||||||
socket:RegistNetMessage(MessageTypeProto_pb.SendFourChallengeInfoIndication, this.SendFourChallengeInfoIndication)
|
socket:RegistNetMessage(MessageTypeProto_pb.SendFourChallengeInfoIndication, this.SendFourChallengeInfoIndication)
|
||||||
|
|
||||||
socket:RegistNetMessage(MessageTypeProto_pb.ChallengeInfoIndication, this.SendChallengeCopyInfoIndication)
|
socket:RegistNetMessage(MessageTypeProto_pb.CHALLENGE_INFO_INDICATION, this.SendChallengeCopyInfoIndication)
|
||||||
-- 充值成功订单推送
|
-- 充值成功订单推送
|
||||||
socket:RegistNetMessage(MessageTypeProto_pb.RECHARGE_SUCCESS_INDICATION, this.RechargeSuccessOrder)
|
socket:RegistNetMessage(MessageTypeProto_pb.RECHARGE_SUCCESS_INDICATION, this.RechargeSuccessOrder)
|
||||||
-- 礼包拍脸推送
|
-- 礼包拍脸推送
|
||||||
|
|
Loading…
Reference in New Issue